commit | 8d1b0b4887bce5fe50a371ccb7e650dcc413bab0 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Wed Sep 11 10:55:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Sep 14 11:46:26 2013 +0100 |
tree | 26832b3eec5d6e90de8b4bf1745a5aa9145d9619 | |
parent | 9e4904c17560b8936a94aeadca8db909ba777ed8 [diff] |
staging: iio: ad2s1200: Use devm_* APIs devm_* APIs are device managed and make code simpler. This patch also fixes the missing gpio_free call in remove. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Graff Yang <graff.yang@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>