From: Justin Chen <justinpopo6@xxxxxxxxx> Add GPIO support for ads7950. v4 Split patch into two commits. Refractored code to capture the state of the adc instead of only the GPIOs. Added comments to clarify the intend of the code. Fix improper use of mlock. Justin Chen (2): iio: adc: ti-ads7950: Fix improper use of mlock iio: adc: ti-ads7950: add GPIO support drivers/iio/adc/ti-ads7950.c | 219 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 209 insertions(+), 10 deletions(-) -- 2.7.4