summaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/iio-trig-hrtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/trigger/iio-trig-hrtimer.c')
-rw-r--r--drivers/iio/trigger/iio-trig-hrtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/trigger/iio-trig-hrtimer.c b/drivers/iio/trigger/iio-trig-hrtimer.c
index 02f137ace26d..57550b581593 100644
--- a/drivers/iio/trigger/iio-trig-hrtimer.c
+++ b/drivers/iio/trigger/iio-trig-hrtimer.c
@@ -131,7 +131,7 @@ static struct iio_sw_trigger *iio_trig_hrtimer_probe(const char *name)
struct iio_hrtimer_info *trig_info;
int ret;
- trig_info = kzalloc_obj(*trig_info, GFP_KERNEL);
+ trig_info = kzalloc_obj(*trig_info);
if (!trig_info)
return ERR_PTR(-ENOMEM);