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
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user