media: rc-core: rename input_name to device_name
When an ir-spi is registered, you get this message. rc rc0: Unspecified device as /devices/platform/soc/3f215080.spi/spi_master/spi32766/spi32766.128/rc/rc0 "Unspecified device" refers to input_name, which makes no sense for IR TX only devices. So, rename to device_name. Also make driver_name const char* so that no casts are needed anywhere. Now ir-spi reports: rc rc0: IR SPI as /devices/platform/soc/3f215080.spi/spi_master/spi32766/spi32766.128/rc/rc0 Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
db68102c8d
commit
518f4b26be
@@ -766,7 +766,7 @@ static void ati_remote_rc_init(struct ati_remote *ati_remote)
|
||||
rdev->open = ati_remote_rc_open;
|
||||
rdev->close = ati_remote_rc_close;
|
||||
|
||||
rdev->input_name = ati_remote->rc_name;
|
||||
rdev->device_name = ati_remote->rc_name;
|
||||
rdev->input_phys = ati_remote->rc_phys;
|
||||
|
||||
usb_to_input_id(ati_remote->udev, &rdev->input_id);
|
||||
|
Reference in New Issue
Block a user