diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-06-27 13:06:27 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-06-27 13:08:05 -0700 |
commit | 58c244009ef6ca450f0d787828a7f2f27651db5b (patch) | |
tree | 743d3f6a63fc4ddab9b09c2ccf559e65ada1ba75 /arch/powerpc/xmon | |
parent | 11d0cf8859451d6336959204b2d4cc173dd1aa4e (diff) | |
download | linux-58c244009ef6ca450f0d787828a7f2f27651db5b.tar.bz2 |
Input: ads7846 - cleanup GPIO initialization
Use gpio_request_one() instead of multiple gpiolib calls.
This also simplifies error handling a bit.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/powerpc/xmon')
0 files changed, 0 insertions, 0 deletions