]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Staging: ipack: delete the call to remove() in ipack_driver_register
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Fri, 25 May 2012 08:03:02 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Jun 2012 05:20:29 +0000 (14:20 +0900)
commitb2bc13c5e07501a0a4427b6a9eff8162aef5560a
treec96aac1acd499d14241781138c9acf1ba5a2e511
parent3b86bb2e11d854d258c5e05d709865ca3d3c8951
Staging: ipack: delete the call to remove() in ipack_driver_register

When a bus driver calls ipack_driver_register(), it should manages the returning
NULL value to undo all the operations it did before this call, and print the
corresponding trace.

It is not a task for the ipack driver to call the remove() function here.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/ipack.c