staging: iio: hmc5843: Make it behave better as modules
authorShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 4 Jun 2012 09:41:04 +0000 (15:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 05:06:17 +0000 (14:06 +0900)
commit1079def493b55e7a69e6eefc6e026224e1d90e2a
tree1d9f72a174be56bd11fe31a20c84f3fa7260587f
parentdbdc025bb239ce62c9b4d28c459a98f22ce9ec0a
staging: iio: hmc5843: Make it behave better as modules

The memory regions of the probe and remove are move
to __devinit and __devexit respectively.

Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/magnetometer/hmc5843.c