From: Uwe Kleine-König Date: Tue, 19 May 2015 07:48:08 +0000 (+0200) Subject: ASoC: rx51: use flags argument of devm_gpiod_get to set direction X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~38^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a8ba6eeb6501a77619f49440c85dad14fe9c7a2;p=pandora-kernel.git ASoC: rx51: use flags argument of devm_gpiod_get to set direction 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. Use this to simplify the driver. Furthermore this is one caller less that stops us making the flags argument to gpiod_get*() mandatory. Signed-off-by: Uwe Kleine-König Acked-by: Jarkko Nikula Signed-off-by: Mark Brown --- Reading git-diff-tree failed