diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-06-12 09:04:55 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-07-06 10:10:22 +0200 |
commit | 7d891dbee52e0a843ee7724ad4100675cf2fe24c (patch) | |
tree | 39fcbf112b1a188bfafe93390f6753b558432b3d /arch/.gitignore | |
parent | 7d4eb6f2110d9a9f9fe8d39eabddadbd35eb12b2 (diff) |
iio: magn: bmc150: use flags argument of devm_gpiod_get
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.
Simplify driver accordingly. Furthermore this is one caller less that
stops us making the flags argument to gpiod_get*() mandatory.
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions