Skip to content

Commit 80c8ae2

Browse files
wfp5pgregkh
authored andcommitted
misc: 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: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Cc: Eric Piel <eric.piel@tremplin-utc.net> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2d6bed9 commit 80c8ae2

26 files changed

Lines changed: 36 additions & 36 deletions

‎drivers/misc/ad525x_dpot-i2c.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static const struct ad_dpot_bus_ops bops = {
5151
.write_r8d16 = write_r8d16,
5252
};
5353

54-
static int __devinit ad_dpot_i2c_probe(struct i2c_client *client,
54+
static int ad_dpot_i2c_probe(struct i2c_client *client,
5555
const struct i2c_device_id *id)
5656
{
5757
struct ad_dpot_bus_data bdata = {

‎drivers/misc/ad525x_dpot-spi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static const struct ad_dpot_bus_ops bops = {
7575
.write_r8d8 = write16,
7676
.write_r8d16 = write24,
7777
};
78-
static int __devinit ad_dpot_spi_probe(struct spi_device *spi)
78+
static int ad_dpot_spi_probe(struct spi_device *spi)
7979
{
8080
struct ad_dpot_bus_data bdata = {
8181
.client = spi,

‎drivers/misc/ad525x_dpot.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ static const struct attribute_group ad525x_group_commands = {
641641
.attrs = ad525x_attributes_commands,
642642
};
643643

644-
__devinit int ad_dpot_add_files(struct device *dev,
644+
int ad_dpot_add_files(struct device *dev,
645645
unsigned features, unsigned rdac)
646646
{
647647
int err = sysfs_create_file(&dev->kobj,
@@ -685,7 +685,7 @@ inline void ad_dpot_remove_files(struct device *dev,
685685
}
686686
}
687687

688-
int __devinit ad_dpot_probe(struct device *dev,
688+
int ad_dpot_probe(struct device *dev,
689689
struct ad_dpot_bus_data *bdata, unsigned long devid,
690690
const char *name)
691691
{

‎drivers/misc/apds990x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ static struct attribute_group apds990x_attribute_group[] = {
10471047
{.attrs = sysfs_attrs_ctrl },
10481048
};
10491049

1050-
static int __devinit apds990x_probe(struct i2c_client *client,
1050+
static int apds990x_probe(struct i2c_client *client,
10511051
const struct i2c_device_id *id)
10521052
{
10531053
struct apds990x_chip *chip;

‎drivers/misc/bh1770glc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ static struct attribute_group bh1770_attribute_group = {
11621162
.attrs = sysfs_attrs
11631163
};
11641164

1165-
static int __devinit bh1770_probe(struct i2c_client *client,
1165+
static int bh1770_probe(struct i2c_client *client,
11661166
const struct i2c_device_id *id)
11671167
{
11681168
struct bh1770_chip *chip;

‎drivers/misc/bh1780gli.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static const struct attribute_group bh1780_attr_group = {
144144
.attrs = bh1780_attributes,
145145
};
146146

147-
static int __devinit bh1780_probe(struct i2c_client *client,
147+
static int bh1780_probe(struct i2c_client *client,
148148
const struct i2c_device_id *id)
149149
{
150150
int ret;

‎drivers/misc/bmp085-i2c.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static int bmp085_i2c_detect(struct i2c_client *client,
3636
return bmp085_detect(&client->dev);
3737
}
3838

39-
static int __devinit bmp085_i2c_probe(struct i2c_client *client,
39+
static int bmp085_i2c_probe(struct i2c_client *client,
4040
const struct i2c_device_id *id)
4141
{
4242
int err;

‎drivers/misc/bmp085-spi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <linux/err.h>
2323
#include "bmp085.h"
2424

25-
static int __devinit bmp085_spi_probe(struct spi_device *client)
25+
static int bmp085_spi_probe(struct spi_device *client)
2626
{
2727
int err;
2828
struct regmap *regmap;

‎drivers/misc/bmp085.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ struct regmap_config bmp085_regmap_config = {
420420
};
421421
EXPORT_SYMBOL_GPL(bmp085_regmap_config);
422422

423-
__devinit int bmp085_probe(struct device *dev, struct regmap *regmap)
423+
int bmp085_probe(struct device *dev, struct regmap *regmap)
424424
{
425425
struct bmp085_data *data;
426426
int err = 0;

‎drivers/misc/cb710/core.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void cb710_pci_update_config_reg(struct pci_dev *pdev,
3030
EXPORT_SYMBOL_GPL(cb710_pci_update_config_reg);
3131

3232
/* Some magic writes based on Windows driver init code */
33-
static int __devinit cb710_pci_configure(struct pci_dev *pdev)
33+
static int cb710_pci_configure(struct pci_dev *pdev)
3434
{
3535
unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0);
3636
struct pci_dev *pdev0;
@@ -96,7 +96,7 @@ static void cb710_release_slot(struct device *dev)
9696
#endif
9797
}
9898

99-
static int __devinit cb710_register_slot(struct cb710_chip *chip,
99+
static int cb710_register_slot(struct cb710_chip *chip,
100100
unsigned slot_mask, unsigned io_offset, const char *name)
101101
{
102102
int nr = chip->slots;
@@ -201,7 +201,7 @@ static int cb710_resume(struct pci_dev *pdev)
201201

202202
#endif /* CONFIG_PM */
203203

204-
static int __devinit cb710_probe(struct pci_dev *pdev,
204+
static int cb710_probe(struct pci_dev *pdev,
205205
const struct pci_device_id *ent)
206206
{
207207
struct cb710_chip *chip;

0 commit comments

Comments
 (0)