diff options
author | Kurt Van Dijck <kurt.van.dijck@eia.be> | 2013-03-07 13:28:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 12:30:15 -0700 |
commit | a750fa4edd9e5d840a1ada4a272601c82e56a83a (patch) | |
tree | df88de368f3b613748a6d5d0c02b4132e402b7c1 /drivers/net | |
parent | 7fced565e55be83a18a3b7bb64995515c61edd53 (diff) | |
download | linux-3.10-a750fa4edd9e5d840a1ada4a272601c82e56a83a.tar.gz linux-3.10-a750fa4edd9e5d840a1ada4a272601c82e56a83a.tar.bz2 linux-3.10-a750fa4edd9e5d840a1ada4a272601c82e56a83a.zip |
softingcs: use module_pcmcia_driver
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/can/softing/softing_cs.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/net/can/softing/softing_cs.c b/drivers/net/can/softing/softing_cs.c index 77620543cd9..738355c1274 100644 --- a/drivers/net/can/softing/softing_cs.c +++ b/drivers/net/can/softing/softing_cs.c @@ -340,18 +340,7 @@ static struct pcmcia_driver softingcs_driver = { .remove = softingcs_remove, }; -static int __init softingcs_start(void) -{ - return pcmcia_register_driver(&softingcs_driver); -} - -static void __exit softingcs_stop(void) -{ - pcmcia_unregister_driver(&softingcs_driver); -} - -module_init(softingcs_start); -module_exit(softingcs_stop); +module_pcmcia_driver(&softingcs_driver); MODULE_DESCRIPTION("softing CANcard driver" ", links PCMCIA card to softing driver"); |