aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2005-11-30 01:00:35 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-09 12:13:23 -0800
commit93b47684f60cf25e8cefe19a21d94aa0257fdf36 (patch)
treef89ab5a9197cf9bb771a556f8b48989416848dce /drivers/hwmon
parent46654728b55bf5d09dc91fa45f532131d8a609f2 (diff)
downloadlinux-stericsson-93b47684f60cf25e8cefe19a21d94aa0257fdf36.tar.gz
[PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver()
Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/vt8231.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c
index d00a726d0239..3eb08f004c0f 100644
--- a/drivers/hwmon/vt8231.c
+++ b/drivers/hwmon/vt8231.c
@@ -841,7 +841,7 @@ static int __devinit vt8231_pci_probe(struct pci_dev *dev,
static int __init sm_vt8231_init(void)
{
- return pci_module_init(&vt8231_pci_driver);
+ return pci_register_driver(&vt8231_pci_driver);
}
static void __exit sm_vt8231_exit(void)