diff options
Diffstat (limited to 'drivers/hwmon/iio_hwmon.c')
-rw-r--r-- | drivers/hwmon/iio_hwmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c index 368497fa2627..52b77afebde1 100644 --- a/drivers/hwmon/iio_hwmon.c +++ b/drivers/hwmon/iio_hwmon.c | |||
@@ -161,7 +161,7 @@ static int iio_hwmon_probe(struct platform_device *pdev) | |||
161 | error_remove_group: | 161 | error_remove_group: |
162 | sysfs_remove_group(&dev->kobj, &st->attr_group); | 162 | sysfs_remove_group(&dev->kobj, &st->attr_group); |
163 | error_release_channels: | 163 | error_release_channels: |
164 | iio_channel_release_all(st->channels); | 164 | iio_channel_release_all(channels); |
165 | return ret; | 165 | return ret; |
166 | } | 166 | } |
167 | 167 | ||