diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:22:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-28 14:49:40 -0500 |
commit | 6c931ae1c09a9618852c9619dac71f1f77776e3b (patch) | |
tree | 2bf3ef58b8c122aa9714576f6b07b71948d9d1c7 /drivers/hwmon/w83627hf.c | |
parent | 9e5e9b7a92e4e2e4ac1f0d6aa181639637660e45 (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/w83627hf.c')
-rw-r--r-- | drivers/hwmon/w83627hf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c index 3aff01505c86..e5a7e5294489 100644 --- a/drivers/hwmon/w83627hf.c +++ b/drivers/hwmon/w83627hf.c | |||
@@ -1342,7 +1342,7 @@ static const struct attribute_group w83627hf_group_opt = { | |||
1342 | .attrs = w83627hf_attributes_opt, | 1342 | .attrs = w83627hf_attributes_opt, |
1343 | }; | 1343 | }; |
1344 | 1344 | ||
1345 | static int __devinit w83627hf_probe(struct platform_device *pdev) | 1345 | static int w83627hf_probe(struct platform_device *pdev) |
1346 | { | 1346 | { |
1347 | struct device *dev = &pdev->dev; | 1347 | struct device *dev = &pdev->dev; |
1348 | struct w83627hf_sio_data *sio_data = dev->platform_data; | 1348 | struct w83627hf_sio_data *sio_data = dev->platform_data; |
@@ -1564,7 +1564,7 @@ static int w83627hf_read_value(struct w83627hf_data *data, u16 reg) | |||
1564 | return res; | 1564 | return res; |
1565 | } | 1565 | } |
1566 | 1566 | ||
1567 | static int __devinit w83627thf_read_gpio5(struct platform_device *pdev) | 1567 | static int w83627thf_read_gpio5(struct platform_device *pdev) |
1568 | { | 1568 | { |
1569 | struct w83627hf_sio_data *sio_data = pdev->dev.platform_data; | 1569 | struct w83627hf_sio_data *sio_data = pdev->dev.platform_data; |
1570 | int res = 0xff, sel; | 1570 | int res = 0xff, sel; |
@@ -1597,7 +1597,7 @@ exit: | |||
1597 | return res; | 1597 | return res; |
1598 | } | 1598 | } |
1599 | 1599 | ||
1600 | static int __devinit w83687thf_read_vid(struct platform_device *pdev) | 1600 | static int w83687thf_read_vid(struct platform_device *pdev) |
1601 | { | 1601 | { |
1602 | struct w83627hf_sio_data *sio_data = pdev->dev.platform_data; | 1602 | struct w83627hf_sio_data *sio_data = pdev->dev.platform_data; |
1603 | int res = 0xff; | 1603 | int res = 0xff; |
@@ -1649,7 +1649,7 @@ static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value) | |||
1649 | return 0; | 1649 | return 0; |
1650 | } | 1650 | } |
1651 | 1651 | ||
1652 | static void __devinit w83627hf_init_device(struct platform_device *pdev) | 1652 | static void w83627hf_init_device(struct platform_device *pdev) |
1653 | { | 1653 | { |
1654 | struct w83627hf_data *data = platform_get_drvdata(pdev); | 1654 | struct w83627hf_data *data = platform_get_drvdata(pdev); |
1655 | int i; | 1655 | int i; |