staging: iio: ak8975: Make it behave better as modules
authorShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 4 Jun 2012 09:41:05 +0000 (15:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 05:06:18 +0000 (14:06 +0900)
commitf61343b397975c6360c0f83edebbfdad19baf8f7
tree9cdf2731d2e071cb8354b01aa652ebe99d5de23b
parent1079def493b55e7a69e6eefc6e026224e1d90e2a
staging: iio: ak8975: 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/ak8975.c