hwmon: convert drivers/hwmon/* to use module_spi_driver()
authorAxel Lin <axel.lin@gmail.com>
Fri, 20 Jan 2012 07:53:47 +0000 (15:53 +0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:26:51 +0000 (18:26 -0700)
commit91efffe26a809bc6660b91e21264f48e501bfb46
tree120b44641f98226023ae64b2d491de961795c824
parentf0967eea80ec2a19a4fe1ad27e3ff1b22c79a3c7
hwmon: convert drivers/hwmon/* to use module_spi_driver()

This patch converts the drivers in drivers/hwmon/* to use the
module_spi_driver() macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Cc: Marc Pignat <marc.pignat@hevs.ch>
Cc: Paul Thomas <pthomas8589@gmail.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/ad7314.c
drivers/hwmon/adcxx.c
drivers/hwmon/ads7871.c
drivers/hwmon/lm70.c
drivers/hwmon/max1111.c