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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Greg Kroah-Hartman

vecāks
9e5e9b7a92
revīzija
6c931ae1c0
@@ -1342,7 +1342,7 @@ static const struct attribute_group w83627hf_group_opt = {
|
||||
.attrs = w83627hf_attributes_opt,
|
||||
};
|
||||
|
||||
static int __devinit w83627hf_probe(struct platform_device *pdev)
|
||||
static int w83627hf_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct device *dev = &pdev->dev;
|
||||
struct w83627hf_sio_data *sio_data = dev->platform_data;
|
||||
@@ -1564,7 +1564,7 @@ static int w83627hf_read_value(struct w83627hf_data *data, u16 reg)
|
||||
return res;
|
||||
}
|
||||
|
||||
static int __devinit w83627thf_read_gpio5(struct platform_device *pdev)
|
||||
static int w83627thf_read_gpio5(struct platform_device *pdev)
|
||||
{
|
||||
struct w83627hf_sio_data *sio_data = pdev->dev.platform_data;
|
||||
int res = 0xff, sel;
|
||||
@@ -1597,7 +1597,7 @@ exit:
|
||||
return res;
|
||||
}
|
||||
|
||||
static int __devinit w83687thf_read_vid(struct platform_device *pdev)
|
||||
static int w83687thf_read_vid(struct platform_device *pdev)
|
||||
{
|
||||
struct w83627hf_sio_data *sio_data = pdev->dev.platform_data;
|
||||
int res = 0xff;
|
||||
@@ -1649,7 +1649,7 @@ static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __devinit w83627hf_init_device(struct platform_device *pdev)
|
||||
static void w83627hf_init_device(struct platform_device *pdev)
|
||||
{
|
||||
struct w83627hf_data *data = platform_get_drvdata(pdev);
|
||||
int i;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user