Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] winbond: remove space from driver name

-snip-
ACTION=add
DEVPATH=/devices/pnp0/00:04/rc/rc0
DRV_NAME=Winbond CIR
NAME=rc-rc6-mce
SUBSYSTEM=rc
UDEV_LOG=6
USEC_INITIALIZED=88135858
run: '/usr/bin/ir-keytable -a /etc/rc_maps.cfg -s rc0'
Having a space makes it impossible to match in /etc/rc_maps.cfg.

[root@pequod ~]# udevadm test /sys/class/rc/rc0
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Sean Young and committed by
Mauro Carvalho Chehab
54fd321e 48b0fa6a

+1 -1
+1 -1
drivers/media/rc/winbond-cir.c
··· 184 184 }; 185 185 186 186 /* Misc */ 187 - #define WBCIR_NAME "Winbond CIR" 187 + #define WBCIR_NAME "winbond-cir" 188 188 #define WBCIR_ID_FAMILY 0xF1 /* Family ID for the WPCD376I */ 189 189 #define WBCIR_ID_CHIP 0x04 /* Chip ID for the WPCD376I */ 190 190 #define INVALID_SCANCODE 0x7FFFFFFF /* Invalid with all protos */