diff options
Diffstat (limited to 'drivers/iio/trigger/iio-trig-sysfs.c')
-rw-r--r-- | drivers/iio/trigger/iio-trig-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/trigger/iio-trig-sysfs.c b/drivers/iio/trigger/iio-trig-sysfs.c index 3dfab2bc6d69..202e8b89caf2 100644 --- a/drivers/iio/trigger/iio-trig-sysfs.c +++ b/drivers/iio/trigger/iio-trig-sysfs.c | |||
@@ -174,7 +174,7 @@ static int iio_sysfs_trigger_probe(int id) | |||
174 | return 0; | 174 | return 0; |
175 | 175 | ||
176 | out2: | 176 | out2: |
177 | iio_trigger_put(t->trig); | 177 | iio_trigger_free(t->trig); |
178 | free_t: | 178 | free_t: |
179 | kfree(t); | 179 | kfree(t); |
180 | out1: | 180 | out1: |