aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2015-05-19 09:22:56 +0200
committerSamuel Ortiz <[email protected]>2015-06-09 00:34:19 +0200
commit8a2151c587715e84af676ee6c210fd41b912de76 (patch)
tree25e554acdb674a980351cfd7346ad2905834193b /tools/perf/scripts/python/futex-contention.py
parent0cd6f66739ac8a936d4660d45ecb99eb801709a4 (diff)
NFC: pn544: 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. While touching this also do some minor coding style fixes. Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions