diff options
-rw-r--r-- | drivers/media/IR/imon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/imon.c b/drivers/media/IR/imon.c index 9ca5e864d16..d5d8d933187 100644 --- a/drivers/media/IR/imon.c +++ b/drivers/media/IR/imon.c | |||
@@ -1671,7 +1671,7 @@ static struct input_dev *imon_init_idev(struct imon_context *ictx) | |||
1671 | } | 1671 | } |
1672 | 1672 | ||
1673 | ir = kzalloc(sizeof(struct ir_input_dev), GFP_KERNEL); | 1673 | ir = kzalloc(sizeof(struct ir_input_dev), GFP_KERNEL); |
1674 | if (!props) { | 1674 | if (!ir) { |
1675 | dev_err(ictx->dev, "remote ir input dev allocation failed\n"); | 1675 | dev_err(ictx->dev, "remote ir input dev allocation failed\n"); |
1676 | goto ir_dev_alloc_failed; | 1676 | goto ir_dev_alloc_failed; |
1677 | } | 1677 | } |