projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6932234
)
[media] redrat3: don't include vendor/product id in name
author
Sean Young
<sean@mess.org>
Mon, 31 Oct 2016 17:52:20 +0000
(15:52 -0200)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Mon, 21 Nov 2016 14:20:03 +0000
(12:20 -0200)
No need to duplicate these in the rc name.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/redrat3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/rc/redrat3.c
b/drivers/media/rc/redrat3.c
index d3c81619cd87754abd9d3f37cc6bb2c26c2c3221..236b686bffd644eac924ac53a29719e7576c490a 100644
(file)
--- a/
drivers/media/rc/redrat3.c
+++ b/
drivers/media/rc/redrat3.c
@@
-904,9
+904,9
@@
static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
if (!rc)
return NULL;
- snprintf(rr3->name, sizeof(rr3->name),
"RedRat3%s Infrared Remote Transceiver (%04x:%04x)",
-
prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "
",
-
le16_to_cpu(rr3->udev->descriptor.idVendor), prod
);
+ snprintf(rr3->name, sizeof(rr3->name),
+
"RedRat3%s Infrared Remote Transceiver
",
+
prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : ""
);
usb_make_path(rr3->udev, rr3->phys, sizeof(rr3->phys));