commit | 58c244009ef6ca450f0d787828a7f2f27651db5b | [log] [tgz] |
---|---|---|
author | Igor Grinberg <grinberg@compulab.co.il> | Mon Jun 27 13:06:27 2011 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Jun 27 13:08:05 2011 -0700 |
tree | 743d3f6a63fc4ddab9b09c2ccf559e65ada1ba75 | |
parent | 11d0cf8859451d6336959204b2d4cc173dd1aa4e [diff] |
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>