]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pnp: parport: adjust pnp_register_driver signature
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 27 Mar 2006 09:17:02 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:44:52 +0000 (08:44 -0800)
commitf852f1a30bfca5a1388df6cf9ab1840243ba4eb7
tree797e434f56e96e232f662cb8aa668d6962cd10dc
parentf8dbbc9bb538c1d09bfc4b22bc8091a14eeec16e
[PATCH] pnp: parport: adjust pnp_register_driver signature

Remove the assumption that pnp_register_driver() returns the number of devices
claimed.

parport_pc_init() does nothing with "count", so remove it.  Then nobody uses
the return value of parport_pc_find_ports(), so make it void.  Finally, update
pnp_register_driver() usage.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/parport/parport_pc.c