Skip to content
Commit 58c24400 authored by Igor Grinberg's avatar Igor Grinberg Committed by Dmitry Torokhov
Browse files

Input: ads7846 - cleanup GPIO initialization



Use gpio_request_one() instead of multiple gpiolib calls.
This also simplifies error handling a bit.

Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 11d0cf88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment