ide: unregister idepnp driver on unload
authorTejun Heo <htejun@gmail.com>
Sat, 27 Jan 2007 12:47:02 +0000 (13:47 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 27 Jan 2007 12:47:02 +0000 (13:47 +0100)
commit6855036aa035913bc2bfb31c41576a49f42ecd5f
tree7524fa60ef1a36ea6630a9b6613cb7099875569d
parent82ab1eeceba6705cd5a8815c48eb03af1dada744
ide: unregister idepnp driver on unload

idepnp driver is registered as a pnp driver on ide init but doesn't
get unregistered on ide unload causing driver list corruption and
eventually oops.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-pnp.c
drivers/ide/ide.c