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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
9e5e9b7a92
commit
6c931ae1c0
@@ -1966,7 +1966,7 @@ static void it87_remove_files(struct device *dev)
|
||||
sysfs_remove_group(&dev->kobj, &it87_group_label);
|
||||
}
|
||||
|
||||
static int __devinit it87_probe(struct platform_device *pdev)
|
||||
static int it87_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct it87_data *data;
|
||||
struct resource *res;
|
||||
@@ -2191,7 +2191,7 @@ static void it87_write_value(struct it87_data *data, u8 reg, u8 value)
|
||||
}
|
||||
|
||||
/* Return 1 if and only if the PWM interface is safe to use */
|
||||
static int __devinit it87_check_pwm(struct device *dev)
|
||||
static int it87_check_pwm(struct device *dev)
|
||||
{
|
||||
struct it87_data *data = dev_get_drvdata(dev);
|
||||
/*
|
||||
@@ -2248,7 +2248,7 @@ static int __devinit it87_check_pwm(struct device *dev)
|
||||
}
|
||||
|
||||
/* Called when we have found a new IT87. */
|
||||
static void __devinit it87_init_device(struct platform_device *pdev)
|
||||
static void it87_init_device(struct platform_device *pdev)
|
||||
{
|
||||
struct it87_sio_data *sio_data = pdev->dev.platform_data;
|
||||
struct it87_data *data = platform_get_drvdata(pdev);
|
||||
|
Reference in New Issue
Block a user