Skip to content

Commit 2d6bed9

Browse files
wfp5pgregkh
authored andcommitted
drivers/misc: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Cc: Wolfram Sang <w.sang@pengutronix.de> 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 989623c commit 2d6bed9

25 files changed

Lines changed: 25 additions & 25 deletions

‎drivers/misc/ad525x_dpot-i2c.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static struct i2c_driver ad_dpot_i2c_driver = {
109109
.owner = THIS_MODULE,
110110
},
111111
.probe = ad_dpot_i2c_probe,
112-
.remove = __devexit_p(ad_dpot_i2c_remove),
112+
.remove = ad_dpot_i2c_remove,
113113
.id_table = ad_dpot_id,
114114
};
115115

‎drivers/misc/ad525x_dpot-spi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static struct spi_driver ad_dpot_spi_driver = {
131131
.owner = THIS_MODULE,
132132
},
133133
.probe = ad_dpot_spi_probe,
134-
.remove = __devexit_p(ad_dpot_spi_remove),
134+
.remove = ad_dpot_spi_remove,
135135
.id_table = ad_dpot_spi_id,
136136
};
137137

‎drivers/misc/apds9802als.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ static struct i2c_driver apds9802als_driver = {
326326
.pm = APDS9802ALS_PM_OPS,
327327
},
328328
.probe = apds9802als_probe,
329-
.remove = __devexit_p(apds9802als_remove),
329+
.remove = apds9802als_remove,
330330
.suspend = apds9802als_suspend,
331331
.resume = apds9802als_resume,
332332
.id_table = apds9802als_id,

‎drivers/misc/apds990x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ static struct i2c_driver apds990x_driver = {
12751275
.pm = &apds990x_pm_ops,
12761276
},
12771277
.probe = apds990x_probe,
1278-
.remove = __devexit_p(apds990x_remove),
1278+
.remove = apds990x_remove,
12791279
.id_table = apds990x_id,
12801280
};
12811281

‎drivers/misc/atmel-ssc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ static int __devexit ssc_remove(struct platform_device *pdev)
152152
}
153153

154154
static struct platform_driver ssc_driver = {
155-
.remove = __devexit_p(ssc_remove),
155+
.remove = ssc_remove,
156156
.driver = {
157157
.name = "ssc",
158158
.owner = THIS_MODULE,

‎drivers/misc/bh1770glc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ static struct i2c_driver bh1770_driver = {
13951395
.pm = &bh1770_pm_ops,
13961396
},
13971397
.probe = bh1770_probe,
1398-
.remove = __devexit_p(bh1770_remove),
1398+
.remove = bh1770_remove,
13991399
.id_table = bh1770_id,
14001400
};
14011401

‎drivers/misc/bh1780gli.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static const struct i2c_device_id bh1780_id[] = {
248248

249249
static struct i2c_driver bh1780_driver = {
250250
.probe = bh1780_probe,
251-
.remove = __devexit_p(bh1780_remove),
251+
.remove = bh1780_remove,
252252
.id_table = bh1780_id,
253253
.driver = {
254254
.name = "bh1780",

‎drivers/misc/bmp085-i2c.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static struct i2c_driver bmp085_i2c_driver = {
7171
},
7272
.id_table = bmp085_id,
7373
.probe = bmp085_i2c_probe,
74-
.remove = __devexit_p(bmp085_i2c_remove),
74+
.remove = bmp085_i2c_remove,
7575

7676
.detect = bmp085_i2c_detect,
7777
.address_list = normal_i2c

‎drivers/misc/bmp085-spi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static struct spi_driver bmp085_spi_driver = {
7070
},
7171
.id_table = bmp085_id,
7272
.probe = bmp085_spi_probe,
73-
.remove = __devexit_p(bmp085_spi_remove)
73+
.remove = bmp085_spi_remove
7474
};
7575

7676
module_spi_driver(bmp085_spi_driver);

‎drivers/misc/cb710/core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ static struct pci_driver cb710_driver = {
332332
.name = KBUILD_MODNAME,
333333
.id_table = cb710_pci_tbl,
334334
.probe = cb710_probe,
335-
.remove = __devexit_p(cb710_remove_one),
335+
.remove = cb710_remove_one,
336336
#ifdef CONFIG_PM
337337
.suspend = cb710_suspend,
338338
.resume = cb710_resume,

0 commit comments

Comments
 (0)