]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce6ad66a066871cedd6bd7c9cc57bb9483e1ad81
tree9cdf2731d2e071cb8354b01aa652ebe99d5de23b
parent853d4f831e2a93df5ae248df931f532cd4019787
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