Commit af0a0a4d authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mauro Carvalho Chehab

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent b5babca2
...@@ -1470,10 +1470,8 @@ static int fimc_md_probe(struct platform_device *pdev) ...@@ -1470,10 +1470,8 @@ static int fimc_md_probe(struct platform_device *pdev)
goto err_v4l2dev; goto err_v4l2dev;
pinctrl = devm_pinctrl_get(dev); pinctrl = devm_pinctrl_get(dev);
if (IS_ERR(pinctrl)) { if (IS_ERR(pinctrl))
ret = dev_err_probe(dev, PTR_ERR(pinctrl), "Failed to get pinctrl\n"); dev_dbg(dev, "Failed to get pinctrl: %pe\n", pinctrl);
goto err_clk;
}
platform_set_drvdata(pdev, fmd); platform_set_drvdata(pdev, fmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment