]> err.no Git - linux-2.6/commit
Input: ns558 - fix logic around pnp_register_driver()
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 14 Mar 2006 05:12:08 +0000 (00:12 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Tue, 14 Mar 2006 05:12:08 +0000 (00:12 -0500)
commitdd55563f635751327eb06ae569d4761a0220f2e0
treea87b2dca6e8eae4ca1f988a84f710a0181154ccd
parente5c6c8e457d16c7cbc12f849ad18d4d508950de2
Input: ns558 - fix logic around pnp_register_driver()

Do not assume that pnp_register_driver() returns the number of
devices claimed.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/ns558.c