aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/via686a.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:22:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 14:49:40 -0500
commit6c931ae1c09a9618852c9619dac71f1f77776e3b (patch)
tree2bf3ef58b8c122aa9714576f6b07b71948d9d1c7 /drivers/hwmon/via686a.c
parent9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45 (diff)
hwmon: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Jean Delvare <khali@linux-fr.org> Cc: Alistair John Strachan <alistair@devzero.co.uk> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: Juerg Haefliger <juergh@gmail.com> Cc: Andreas Herrmann <herrmann.der.user@googlemail.com> Cc: Clemens Ladisch <clemens@ladisch.de> Cc: Rudolf Marek <r.marek@assembler.cz> Cc: Jim Cromie <jim.cromie@gmail.com> Cc: "Mark M. Hoffman" <mhoffman@lightlink.com> Cc: Roger Lucas <vt8231@hiddenengine.co.uk> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwmon/via686a.c')
-rw-r--r--drivers/hwmon/via686a.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c
index b2c155d6939f..9d6e27e8c0f5 100644
--- a/drivers/hwmon/via686a.c
+++ b/drivers/hwmon/via686a.c
@@ -682,7 +682,7 @@ static struct platform_driver via686a_driver = {
682 682
683 683
684/* This is called when the module is loaded */ 684/* This is called when the module is loaded */
685static int __devinit via686a_probe(struct platform_device *pdev) 685static int via686a_probe(struct platform_device *pdev)
686{ 686{
687 struct via686a_data *data; 687 struct via686a_data *data;
688 struct resource *res; 688 struct resource *res;
@@ -745,7 +745,7 @@ static void via686a_update_fan_div(struct via686a_data *data)
745 data->fan_div[1] = reg >> 6; 745 data->fan_div[1] = reg >> 6;
746} 746}
747 747
748static void __devinit via686a_init_device(struct via686a_data *data) 748static void via686a_init_device(struct via686a_data *data)
749{ 749{
750 u8 reg; 750 u8 reg;
751 751
@@ -833,7 +833,7 @@ static DEFINE_PCI_DEVICE_TABLE(via686a_pci_ids) = {
833}; 833};
834MODULE_DEVICE_TABLE(pci, via686a_pci_ids); 834MODULE_DEVICE_TABLE(pci, via686a_pci_ids);
835 835
836static int __devinit via686a_device_add(unsigned short address) 836static int via686a_device_add(unsigned short address)
837{ 837{
838 struct resource res = { 838 struct resource res = {
839 .start = address, 839 .start = address,
@@ -874,7 +874,7 @@ exit:
874 return err; 874 return err;
875} 875}
876 876
877static int __devinit via686a_pci_probe(struct pci_dev *dev, 877static int via686a_pci_probe(struct pci_dev *dev,
878 const struct pci_device_id *id) 878 const struct pci_device_id *id)
879{ 879{
880 u16 address, val; 880 u16 address, val;