diff options
-rw-r--r-- | drivers/iio/adc/twl6030-gpadc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/adc/twl6030-gpadc.c b/drivers/iio/adc/twl6030-gpadc.c index 2edfc7bd4f63..53e1c645cee7 100644 --- a/drivers/iio/adc/twl6030-gpadc.c +++ b/drivers/iio/adc/twl6030-gpadc.c | |||
@@ -948,9 +948,7 @@ static int twl6030_gpadc_probe(struct platform_device *pdev) | |||
948 | indio_dev->channels = pdata->iio_channels; | 948 | indio_dev->channels = pdata->iio_channels; |
949 | indio_dev->num_channels = pdata->nchannels; | 949 | indio_dev->num_channels = pdata->nchannels; |
950 | 950 | ||
951 | ret = iio_device_register(indio_dev); | 951 | return iio_device_register(indio_dev); |
952 | |||
953 | return ret; | ||
954 | } | 952 | } |
955 | 953 | ||
956 | static int twl6030_gpadc_remove(struct platform_device *pdev) | 954 | static int twl6030_gpadc_remove(struct platform_device *pdev) |