19 May
2015
19 May
'15
8:30 p.m.
On Mon, May 18, 2015 at 11:58:09PM -0700, Uwe Kleine-K??nig wrote:
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.
Fixes: af5adf129369 ("ASoC: max98357a: Add MAX98357A codec driver") Signed-off-by: Uwe Kleine-K??nig u.kleine-koenig@pengutronix.de
Acked-by: Kenneth Westfield kwestfie@codeaurora.org
--
Kenneth Westfield
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project