wlcore/wl18xx/wl12xx: remove __dev* attributes
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: Luciano Coelho <coelho@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

کامیت شده توسط
John W. Linville

والد
fd549f135c
کامیت
b74324d104
@@ -1696,7 +1696,7 @@ static int wl12xx_setup(struct wl1271 *wl)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devinit wl12xx_probe(struct platform_device *pdev)
|
||||
static int wl12xx_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct wl1271 *wl;
|
||||
struct ieee80211_hw *hw;
|
||||
@@ -1725,7 +1725,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static const struct platform_device_id wl12xx_id_table[] __devinitconst = {
|
||||
static const struct platform_device_id wl12xx_id_table[] = {
|
||||
{ "wl12xx", 0 },
|
||||
{ } /* Terminating Entry */
|
||||
};
|
||||
@@ -1733,7 +1733,7 @@ MODULE_DEVICE_TABLE(platform, wl12xx_id_table);
|
||||
|
||||
static struct platform_driver wl12xx_driver = {
|
||||
.probe = wl12xx_probe,
|
||||
.remove = __devexit_p(wlcore_remove),
|
||||
.remove = wlcore_remove,
|
||||
.id_table = wl12xx_id_table,
|
||||
.driver = {
|
||||
.name = "wl12xx_driver",
|
||||
|
مرجع در شماره جدید
Block a user