diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2010-04-10 23:43:39 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2010-05-19 12:57:38 -0300 |
| commit | 3efaa062a9bd1cd41c4901b8f41718410452499c (patch) | |
| tree | 2db4380f448820957523656c5bcb1e814c3f0607 | |
| parent | 897c7b3b19cca7aad20bb1a3422553d7b646f2fd (diff) | |
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: Mauro Carvalho Chehab <[email protected]>
| -rw-r--r-- | drivers/media/IR/ir-sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/IR/ir-sysfs.c b/drivers/media/IR/ir-sysfs.c index 073b5c0dc654..ceec980552a4 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; } |