]> Pileus Git - ~andy/linux/commitdiff
rfkill: remove __dev* attributes
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 3 Dec 2012 14:56:26 +0000 (09:56 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Dec 2012 20:04:55 +0000 (15:04 -0500)
CONFIG_HOTPLUG is going away as an option.  As result the __dev*
markings will be going away.

Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill-gpio.c
net/rfkill/rfkill-regulator.c

index 865adb61685ac6478f99cc0627c3013574013887..78fc0937948df7b8bc2b865cd28d98a17506cc10 100644 (file)
@@ -213,7 +213,7 @@ static int rfkill_gpio_remove(struct platform_device *pdev)
 
 static struct platform_driver rfkill_gpio_driver = {
        .probe = rfkill_gpio_probe,
-       .remove = __devexit_p(rfkill_gpio_remove),
+       .remove = rfkill_gpio_remove,
        .driver = {
                   .name = "rfkill_gpio",
                   .owner = THIS_MODULE,
index 11da3018a85321739625f678cbf8009380b683ff..4b5ab21ecb24a0732d971f3ce08256a96d496125 100644 (file)
@@ -55,7 +55,7 @@ struct rfkill_ops rfkill_regulator_ops = {
        .set_block = rfkill_regulator_set_block,
 };
 
-static int __devinit rfkill_regulator_probe(struct platform_device *pdev)
+static int rfkill_regulator_probe(struct platform_device *pdev)
 {
        struct rfkill_regulator_platform_data *pdata = pdev->dev.platform_data;
        struct rfkill_regulator_data *rfkill_data;
@@ -122,7 +122,7 @@ out:
        return ret;
 }
 
-static int __devexit rfkill_regulator_remove(struct platform_device *pdev)
+static int rfkill_regulator_remove(struct platform_device *pdev)
 {
        struct rfkill_regulator_data *rfkill_data = platform_get_drvdata(pdev);
        struct rfkill *rf_kill = rfkill_data->rf_kill;
@@ -137,7 +137,7 @@ static int __devexit rfkill_regulator_remove(struct platform_device *pdev)
 
 static struct platform_driver rfkill_regulator_driver = {
        .probe = rfkill_regulator_probe,
-       .remove = __devexit_p(rfkill_regulator_remove),
+       .remove = rfkill_regulator_remove,
        .driver = {
                .name = "rfkill-regulator",
                .owner = THIS_MODULE,