Skip to content

Commit

Permalink
ir-core: Remove the quotation mark from the uevent names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed May 19, 2010
1 parent 897c7b3 commit 3efaa06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/IR/ir-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3efaa06

Please sign in to comment.