summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btwilink.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-09-24 14:39:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-09-24 14:39:16 -0400
commit791ef39cd18ae2745a63c51a5dbbd23312be0744 (patch)
tree195a547ce1bde51ba3f37cd771648c18d84cc947 /drivers/bluetooth/btwilink.c
parente5a876250d05d9708895da3d5408bdf67f1180f3 (diff)
parent0c1abbd1aa0416258881c303a88e618cbca0759c (diff)
downloadop-kernel-dev-791ef39cd18ae2745a63c51a5dbbd23312be0744.zip
op-kernel-dev-791ef39cd18ae2745a63c51a5dbbd23312be0744.tar.gz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
Diffstat (limited to 'drivers/bluetooth/btwilink.c')
-rw-r--r--drivers/bluetooth/btwilink.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/bluetooth/btwilink.c b/drivers/bluetooth/btwilink.c
index 4ad7b35..60abf59 100644
--- a/drivers/bluetooth/btwilink.c
+++ b/drivers/bluetooth/btwilink.c
@@ -358,21 +358,7 @@ static struct platform_driver btwilink_driver = {
},
};
-/* ------- Module Init/Exit interfaces ------ */
-static int __init btwilink_init(void)
-{
- BT_INFO("Bluetooth Driver for TI WiLink - Version %s", VERSION);
-
- return platform_driver_register(&btwilink_driver);
-}
-
-static void __exit btwilink_exit(void)
-{
- platform_driver_unregister(&btwilink_driver);
-}
-
-module_init(btwilink_init);
-module_exit(btwilink_exit);
+module_platform_driver(btwilink_driver);
/* ------ Module Info ------ */
OpenPOWER on IntegriCloud