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
@@ -583,7 +583,7 @@ static const struct attribute_group sis5595_group_temp1 = {
|
||||
};
|
||||
|
||||
/* This is called when the module is loaded */
|
||||
static int __devinit sis5595_probe(struct platform_device *pdev)
|
||||
static int sis5595_probe(struct platform_device *pdev)
|
||||
{
|
||||
int err = 0;
|
||||
int i;
|
||||
@@ -693,7 +693,7 @@ static void sis5595_write_value(struct sis5595_data *data, u8 reg, u8 value)
|
||||
}
|
||||
|
||||
/* Called when we have found a new SIS5595. */
|
||||
static void __devinit sis5595_init_device(struct sis5595_data *data)
|
||||
static void sis5595_init_device(struct sis5595_data *data)
|
||||
{
|
||||
u8 config = sis5595_read_value(data, SIS5595_REG_CONFIG);
|
||||
if (!(config & 0x01))
|
||||
@@ -774,7 +774,7 @@ static int blacklist[] __devinitdata = {
|
||||
PCI_DEVICE_ID_SI_5598,
|
||||
0 };
|
||||
|
||||
static int __devinit sis5595_device_add(unsigned short address)
|
||||
static int sis5595_device_add(unsigned short address)
|
||||
{
|
||||
struct resource res = {
|
||||
.start = address,
|
||||
@@ -815,7 +815,7 @@ exit:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devinit sis5595_pci_probe(struct pci_dev *dev,
|
||||
static int sis5595_pci_probe(struct pci_dev *dev,
|
||||
const struct pci_device_id *id)
|
||||
{
|
||||
u16 address;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user