ir-core: Remove the quotation mark from the uevent names
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Apr 2010 02:43:39 +0000 (23:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:38 +0000 (12:57 -0300)
There's no need to use quotation marks at the uevent names for the
driver and table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/ir-sysfs.c

index 073b5c0..ceec980 100644 (file)
@@ -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;
 }