[media] winbond-cir: use name without space for pnp driver
authorSean Young <sean@mess.org>
Mon, 31 Oct 2016 17:52:19 +0000 (15:52 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 21 Nov 2016 14:18:29 +0000 (12:18 -0200)
Rename the pnp driver in sysfs from /sys/bus/pnp/drivers/Winbond CIR
to /sys/bus/pnp/drivers/winbond-cir

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/winbond-cir.c

index 8c1f9225d35846006d6d20813031cde94d79caf0..78491ed48d92eae15fd5b72d6b46462d40e3dde5 100644 (file)
@@ -1185,7 +1185,7 @@ static const struct pnp_device_id wbcir_ids[] = {
 MODULE_DEVICE_TABLE(pnp, wbcir_ids);
 
 static struct pnp_driver wbcir_driver = {
-       .name     = WBCIR_NAME,
+       .name     = DRVNAME,
        .id_table = wbcir_ids,
        .probe    = wbcir_probe,
        .remove   = wbcir_remove,