From: Uwe Kleine-König Date: Wed, 11 Feb 2015 16:32:53 +0000 (+0100) Subject: drm/tilcdc: panel: make better use of gpiod API X-Git-Tag: omap-for-v4.3/fixes-rc1~96^2~40^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26a5bd26499fba331ecaa1e8ce8cc2b8c6fac569;p=pandora-kernel.git drm/tilcdc: panel: make better use of gpiod API Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Furthermore there is devm_gpiod_get_optional which is designed to get optional gpios. Simplify driver accordingly. Acked-by: Alexandre Courbot Acked-by: Linus Walleij Signed-off-by: Uwe Kleine-König --- Reading git-diff-tree failed