mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
media: samsung: exynos4-is: do not require pinctrl
Driver does not handle pin configuration switching and several DTS provide empty pinctrl property, just to satisfy the driver's requirement for it. Drop requirement for pinctrl property as it is really optional. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
b5babca2e6
commit
af0a0a4d62
1 changed files with 2 additions and 4 deletions
|
@ -1470,10 +1470,8 @@ static int fimc_md_probe(struct platform_device *pdev)
|
|||
goto err_v4l2dev;
|
||||
|
||||
pinctrl = devm_pinctrl_get(dev);
|
||||
if (IS_ERR(pinctrl)) {
|
||||
ret = dev_err_probe(dev, PTR_ERR(pinctrl), "Failed to get pinctrl\n");
|
||||
goto err_clk;
|
||||
}
|
||||
if (IS_ERR(pinctrl))
|
||||
dev_dbg(dev, "Failed to get pinctrl: %pe\n", pinctrl);
|
||||
|
||||
platform_set_drvdata(pdev, fmd);
|
||||
|
||||
|
|
Loading…
Reference in a new issue