linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* proposal for deletion of drivers/hid/hid-ids.h
@ 2015-03-26 11:44 Oliver Neukum
  2015-03-26 14:06 ` Benjamin Tissoires
  2015-03-27 14:57 ` Jiri Kosina
  0 siblings, 2 replies; 7+ messages in thread
From: Oliver Neukum @ 2015-03-26 11:44 UTC (permalink / raw)
  To: linux-input; +Cc: jkosina, pavel

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-27 14:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-26 11:44 proposal for deletion of drivers/hid/hid-ids.h Oliver Neukum
2015-03-26 14:06 ` 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

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).