diff mbox

[1/2] ir-core: Remove the quotation mark from the uevent names

Message ID 20100411002000.3dead0ed@pedra (mailing list archive)
State Accepted
Commit 3efaa062a9bd1cd41c4901b8f41718410452499c
Headers show

Commit Message

Mauro Carvalho Chehab April 11, 2010, 3:20 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c
index a222d4f..40d9abf 100644
--- a/drivers/media/IR/ir-sysfs.c
+++ b/drivers/media/IR/ir-sysfs.c
@@ -159,9 +159,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;
 }