]> err.no Git - linux-2.6/commit
Char: applicom, use pci_match_id
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Feb 2008 12:21:51 +0000 (04:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:41 +0000 (09:22 -0800)
commit53a7a1bb438245cd2ef9674b9af3a5201d7d7657
tree4bceb875bacd585d96788242fda0b1cb82e956b5
parent55b29a728e37ac4b87d09ba8da480f14bdec3b8d
Char: applicom, use pci_match_id

Instead of testing hardcoded values, use pci_match_id to reference the
pci_device_id table. Sideways, it allows easy new additions to the table.

[akpm@linux-foundation.org: remove wrongly-added semicolon]
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/applicom.c