]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 9 Apr 2012 19:18:45 +0000 (12:18 -0700)
commit9ba43c486b9a74bfaa9bb3c95108e0975ef8622a
tree3972fcbe6131b526af789e160b216732b7f65c6a
parent098eb6e353a9169f626b1872930e449fef7e9a23
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