From: Sachin Kamat Date: Thu, 24 Oct 2013 11:53:00 +0000 (+0100) Subject: iio: adc: twl6030-gpadc: Remove redundant code X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~91^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae0f29d1593fabb8eade5f93352e05f88f6245bd;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed