hwmon: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Tue, 3 Apr 2012 01:25:46 +0000 (21:25 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 21 May 2012 02:41:48 +0000 (19:41 -0700)
commitf71f5a550a43a81943efbe0032190ec381006b53
treed2eac8dcd43f1e56b9dcf0f05bbe2ff99953c2a8
parent0531d98b1f2ec6f92074e5b2a74927b865bc605c
hwmon: use module_pci_driver

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/fam15h_power.c
drivers/hwmon/k10temp.c
drivers/hwmon/k8temp.c