diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index 073b5c0dc654d92af52ff7dc8ec53eabc3596b9c..ceec980552a4d7def2f1f9a80c0d7823b2445ce0 100644 --- a/drivers/media/IR/ir-sysfs.c +++ b/drivers/media/IR/ir-sysfs.c @@ -162,9 +162,9 @@ static int ir_dev_uevent(struct device *device, struct kobj_uevent_env *env) struct ir_input_dev *ir_dev = dev_get_drvdata(device); if (ir_dev->rc_tab.name) - ADD_HOTPLUG_VAR("NAME=\"%s\"", ir_dev->rc_tab.name); + ADD_HOTPLUG_VAR("NAME=%s", ir_dev->rc_tab.name); if (ir_dev->driver_name) - ADD_HOTPLUG_VAR("DRV_NAME=\"%s\"", ir_dev->driver_name); + ADD_HOTPLUG_VAR("DRV_NAME=%s", ir_dev->driver_name); return 0; }