diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-24 12:53:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-24 14:45:09 +0100 |
commit | ae0f29d1593fabb8eade5f93352e05f88f6245bd (patch) | |
tree | e03f5874132160c7657f665ce127dd5b1eb6bfb3 /drivers/hwspinlock | |
parent | dcf5272cac4115bfd52afd30e9a8ba5fb9c8d449 (diff) |
iio: adc: twl6030-gpadc: Remove redundant code
The if check is redundant as the value obtained from
iio_device_register() is already in the required format.
Hence return the function directly.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions