Staging: ipack: Make ipack_device_register() analogous to device_register().
authorJens Taprogge <jens.taprogge@taprogge.org>
Thu, 27 Sep 2012 10:37:26 +0000 (12:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Oct 2012 18:45:08 +0000 (11:45 -0700)
commit1e91795c8cea4287b155862793271fe6a7737d20
treeea66ad28598c79c9ac1385b78349d3679c1a3ff3
parentf9e314d2bf78816ea839cb1042d7dcd0da2821dc
Staging: ipack: Make ipack_device_register() analogous to device_register().

ipack_device_register() is no longer creating the struct ipack_device
but only registering it.  Instead of releasing memory directly the new
ipack_device->release callback is called.

This is preparational work for later patches.

Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/bridges/tpci200.c
drivers/staging/ipack/ipack.c
drivers/staging/ipack/ipack.h