aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2014-08-26 23:40:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-08-30 10:45:14 +0100
commitdd8f17a120d00e93b5f76d5904f5ea31934f0a90 (patch)
treefdb679ed31d9cc7f1e25c81b4a66e79e64d99f08 /drivers/iio
parentiio: imu: inv_mpu6050: Remove casting the return value which is a void pointer (diff)
downloadlinux-dev-dd8f17a120d00e93b5f76d5904f5ea31934f0a90.tar.xz
linux-dev-dd8f17a120d00e93b5f76d5904f5ea31934f0a90.zip
iio: adc: rockchip_saradc: remove unused variable in probe
The rate variable in the probe function of the saradc is a remnant of a previous patch iteration. It is unused and thus produces a compile time warning. Therefore remove it. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/rockchip_saradc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
index 1fad9647cef4..e074a0b03f28 100644
--- a/drivers/iio/adc/rockchip_saradc.c
+++ b/drivers/iio/adc/rockchip_saradc.c
@@ -141,7 +141,6 @@ static int rockchip_saradc_probe(struct platform_device *pdev)
struct resource *mem;
int ret;
int irq;
- u32 rate;
if (!np)
return -ENODEV;