Files
linux/drivers/gpu/drm/tegra
Christophe Jaillet a63bb198dc drm/tegra: dpaux: Fix error handling
commit 9376cad207 upstream.

The devm_pinctrl_register() function returns an error pointer or a valid
handle. So checking for NULL here is pointless and can never trigger.

Check the returned value with IS_ERR instead and propagate this value as
done in the other functions which call devm_pinctrl_register().

Fixes: 0751bb5c44 ("drm/tegra: dpaux: Add pinctrl support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-19 20:17:58 +01:00
..
2015-08-13 13:49:37 +02:00
2017-01-19 20:17:58 +01:00
2015-08-13 13:47:45 +02:00
2016-07-04 11:34:31 +02:00
2015-01-27 10:14:40 +01:00