diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:22:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:11 -0500 |
commit | 3c8ac0f2ad53a96ac58efe7c98fac2986d081dfc (patch) | |
tree | b6a0420ea67e65977d71f66a8ecb1ac55952dce1 /drivers/net/can/softing/softing_main.c | |
parent | 7c47bab62192d4dd6ba7f7633f2fb94d259e964e (diff) |
can: 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: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: linux-can@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/can/softing/softing_main.c')
-rw-r--r-- | drivers/net/can/softing/softing_main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index f2a221e7b968..50b1e0f21f1c 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c | |||
@@ -478,7 +478,7 @@ static void softing_card_shutdown(struct softing *card) | |||
478 | mutex_unlock(&card->fw.lock); | 478 | mutex_unlock(&card->fw.lock); |
479 | } | 479 | } |
480 | 480 | ||
481 | static __devinit int softing_card_boot(struct softing *card) | 481 | static int softing_card_boot(struct softing *card) |
482 | { | 482 | { |
483 | int ret, j; | 483 | int ret, j; |
484 | static const uint8_t stream[] = { | 484 | static const uint8_t stream[] = { |
@@ -645,7 +645,7 @@ static const struct can_bittiming_const softing_btr_const = { | |||
645 | }; | 645 | }; |
646 | 646 | ||
647 | 647 | ||
648 | static __devinit struct net_device *softing_netdev_create(struct softing *card, | 648 | static struct net_device *softing_netdev_create(struct softing *card, |
649 | uint16_t chip_id) | 649 | uint16_t chip_id) |
650 | { | 650 | { |
651 | struct net_device *netdev; | 651 | struct net_device *netdev; |
@@ -676,7 +676,7 @@ static __devinit struct net_device *softing_netdev_create(struct softing *card, | |||
676 | return netdev; | 676 | return netdev; |
677 | } | 677 | } |
678 | 678 | ||
679 | static __devinit int softing_netdev_register(struct net_device *netdev) | 679 | static int softing_netdev_register(struct net_device *netdev) |
680 | { | 680 | { |
681 | int ret; | 681 | int ret; |
682 | 682 | ||
@@ -745,7 +745,7 @@ static const struct attribute_group softing_pdev_group = { | |||
745 | /* | 745 | /* |
746 | * platform driver | 746 | * platform driver |
747 | */ | 747 | */ |
748 | static __devexit int softing_pdev_remove(struct platform_device *pdev) | 748 | static int softing_pdev_remove(struct platform_device *pdev) |
749 | { | 749 | { |
750 | struct softing *card = platform_get_drvdata(pdev); | 750 | struct softing *card = platform_get_drvdata(pdev); |
751 | int j; | 751 | int j; |
@@ -766,7 +766,7 @@ static __devexit int softing_pdev_remove(struct platform_device *pdev) | |||
766 | return 0; | 766 | return 0; |
767 | } | 767 | } |
768 | 768 | ||
769 | static __devinit int softing_pdev_probe(struct platform_device *pdev) | 769 | static int softing_pdev_probe(struct platform_device *pdev) |
770 | { | 770 | { |
771 | const struct softing_platform_data *pdat = pdev->dev.platform_data; | 771 | const struct softing_platform_data *pdat = pdev->dev.platform_data; |
772 | struct softing *card; | 772 | struct softing *card; |
@@ -871,7 +871,7 @@ static struct platform_driver softing_driver = { | |||
871 | .owner = THIS_MODULE, | 871 | .owner = THIS_MODULE, |
872 | }, | 872 | }, |
873 | .probe = softing_pdev_probe, | 873 | .probe = softing_pdev_probe, |
874 | .remove = __devexit_p(softing_pdev_remove), | 874 | .remove = softing_pdev_remove, |
875 | }; | 875 | }; |
876 | 876 | ||
877 | module_platform_driver(softing_driver); | 877 | module_platform_driver(softing_driver); |