diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c index 2d2476d68a1abdebbc6171474aaffed51ec3a85a..3f3c70716268d2e40faf343a0d1320791a265924 100644 --- a/drivers/media/rc/imon.c +++ b/drivers/media/rc/imon.c @@ -1970,7 +1970,7 @@ static struct input_dev *imon_init_touch(struct imon_context *ictx) return touch; touch_register_failed: - input_free_device(ictx->touch); + input_free_device(touch); touch_alloc_failed: return NULL;