mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
pinctrl: digicolor: add missing platform_set_drvdata() call
gc_pinctrl_remove() calls platform_get_drvdata(), but I see neither platform_set_drvdata() nor dev_set_drvdata() anywhere in this driver. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
a672eb5e27
commit
8b2b3dcb34
@ -332,6 +332,8 @@ static int dc_pinctrl_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(pmap->pctl);
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, pmap);
|
||||
|
||||
return dc_gpiochip_add(pmap, pdev->dev.of_node);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user