]> 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>
Thu, 26 Apr 2012 15:42:56 +0000 (08:42 -0700)
commit7c888f5030bcd0b7d0b5cc21f6dac87acff9a35b
treebea57fd1b94b17afeb3f44e20692fb5226fe1f12
parenta347d965ccecd8bd9c48bd3cb3d90f302abf7dfa
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