diff options
author | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-05 19:32:58 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-03-05 19:32:58 +0200 |
commit | 05e5bd0f3daddb0368a433af5b58be68c62dc365 (patch) | |
tree | a54c90523b72fb6e61b7bfe01fb8917e16825781 /drivers/nfc/pn533.c | |
parent | daa16bc52ad8e9513506fca29a038a1460e63638 (diff) | |
parent | c288ec614e264b46853c65d3db9ccf91d53c9484 (diff) | |
download | talos-op-linux-05e5bd0f3daddb0368a433af5b58be68c62dc365.tar.gz talos-op-linux-05e5bd0f3daddb0368a433af5b58be68c62dc365.zip |
Merge remote branch 'wireless-next/master' into ath6kl-next
Conflicts:
drivers/net/wireless/ath/ath6kl/cfg80211.c
Diffstat (limited to 'drivers/nfc/pn533.c')
-rw-r--r-- | drivers/nfc/pn533.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c index b8b6c2abbd4a..1a1500bc8452 100644 --- a/drivers/nfc/pn533.c +++ b/drivers/nfc/pn533.c @@ -1761,24 +1761,7 @@ static struct usb_driver pn533_driver = { .id_table = pn533_table, }; -static int __init pn533_init(void) -{ - int rc; - - rc = usb_register(&pn533_driver); - if (rc) - err("usb_register failed. Error number %d", rc); - - return rc; -} - -static void __exit pn533_exit(void) -{ - usb_deregister(&pn533_driver); -} - -module_init(pn533_init); -module_exit(pn533_exit); +module_usb_driver(pn533_driver); MODULE_AUTHOR("Lauro Ramos Venancio <lauro.venancio@openbossa.org>," " Aloisio Almeida Jr <aloisio.almeida@openbossa.org>"); |