Commit 3efaa062 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

ir-core: Remove the quotation mark from the uevent names

There's no need to use quotation marks at the uevent names for the
driver and table.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 897c7b3b
...@@ -162,9 +162,9 @@ static int ir_dev_uevent(struct device *device, struct kobj_uevent_env *env) ...@@ -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); struct ir_input_dev *ir_dev = dev_get_drvdata(device);
if (ir_dev->rc_tab.name) 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) 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; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment