linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Young <sean@mess.org>
To: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: linux-media@vger.kernel.org
Subject: [PATCH 2/9] [media] redrat3: don't include vendor/product id in name
Date: Mon, 31 Oct 2016 17:52:20 +0000	[thread overview]
Message-ID: <1477936347-9029-3-git-send-email-sean@mess.org> (raw)
In-Reply-To: <1477936347-9029-1-git-send-email-sean@mess.org>

No need to duplicate these in the rc name.

Signed-off-by: Sean Young <sean@mess.org>
---
 drivers/media/rc/redrat3.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index 3b0ed1c..de40e58 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -912,9 +912,9 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
 		goto out;
 	}
 
-	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));
 
-- 
2.7.4


  parent reply	other threads:[~2016-10-31 17:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 17:52 [PATCH 0/9] Various IR fixes Sean Young
2016-10-31 17:52 ` [PATCH 1/9] [media] winbond-cir: use name without space for pnp driver Sean Young
2016-10-31 17:52 ` Sean Young [this message]
2016-10-31 17:52 ` [PATCH 3/9] [media] redrat3: remove dead code and pointless messages Sean Young
2016-10-31 17:52 ` [PATCH 4/9] [media] redrat3: fix error paths in probe Sean Young
2016-10-31 17:52 ` [PATCH 5/9] [media] redrat3: enable carrier reports using wideband receiver Sean Young
2016-10-31 19:06   ` kbuild test robot
2016-10-31 21:13     ` Sean Young
2016-10-31 17:52 ` [PATCH 6/9] [media] redrat3: increase set size for lengths to maximum Sean Young
2016-10-31 17:52 ` [PATCH 7/9] [media] lirc: might sleep error in lirc_dev_fop_read Sean Young
2016-10-31 17:52 ` [PATCH 8/9] [media] lirc: prevent use-after free Sean Young
2016-10-31 17:52 ` [PATCH 9/9] [media] lirc: use-after free while reading from device and unplugging Sean Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477936347-9029-3-git-send-email-sean@mess.org \
    --to=sean@mess.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@s-opensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).