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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's no need to use quotation marks at the uevent names for the
driver and table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

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;
 }
-- 
1.6.6.1


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux