From: Oliver Neukum <oneukum@suse.de>
To: linux-input@vger.kernel.org
Cc: jkosina@suse.cz, pavel@ucw.cz
Subject: proposal for deletion of drivers/hid/hid-ids.h
Date: Thu, 26 Mar 2015 12:44:48 +0100 [thread overview]
Message-ID: <1427370288.2075.19.camel@suse.de> (raw)
Hi,
I would like to kill drivers/hid/hid-ids.h and replace it
with numerical IDs in the files using it.
There are two reasons for that.
1. It is a layering violation. There should not be a private
data base for USB IDs in HID.
2. It serves no purpose and adds work. Anyone who adds a quirk
or a special case for devices needs to operate on the numbers,
as those are what he gets from the descriptors. Looking up or
adding a symbolic name for a device is just more work without
a benefit. These numbers have no intrinsic meaning beyond
being unique and it rarely matters (and should not matter)
for which vendor a particular fix is intended.
In the rare cases it does matter when it does matter searching
the official list of USB IDs is less work.
So let's kill this utterly useless step of indirection.
Regards
Oliver
next reply other threads:[~2015-03-26 11:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 11:44 Oliver Neukum [this message]
2015-03-26 14:06 ` proposal for deletion of drivers/hid/hid-ids.h Benjamin Tissoires
2015-03-27 8:49 ` Oliver Neukum
2015-03-27 9:39 ` Oliver Neukum
2015-03-27 13:07 ` Benjamin Tissoires
2015-03-27 12:59 ` Benjamin Tissoires
2015-03-27 14:57 ` Jiri Kosina
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=1427370288.2075.19.camel@suse.de \
--to=oneukum@suse.de \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
--cc=pavel@ucw.cz \
/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).