From: Uwe Kleine-König Date: Thu, 28 May 2015 08:05:15 +0000 (+0200) Subject: fbdev: omap2: improve usage of gpiod API X-Git-Tag: omap-for-v4.3/legacy-v2-signed~177^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca8c67dafdb7eb543015f1f84bb73f4454e41ca6;p=pandora-kernel.git fbdev: omap2: improve usage 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. Also make use of gpiod_get*_optional where applicable. Apart from simplification of the affected drivers this is another step towards making the flags argument to gpiod_get*() mandatory. Signed-off-by: Uwe Kleine-König Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed