--- zzzz-none-000/linux-3.10.107/arch/arm/mach-pxa/tosa-bt.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mach-pxa/tosa-bt.c 2021-02-04 17:41:59.000000000 +0000 @@ -129,20 +129,6 @@ .driver = { .name = "tosa-bt", - .owner = THIS_MODULE, }, }; - - -static int __init tosa_bt_init(void) -{ - return platform_driver_register(&tosa_bt_driver); -} - -static void __exit tosa_bt_exit(void) -{ - platform_driver_unregister(&tosa_bt_driver); -} - -module_init(tosa_bt_init); -module_exit(tosa_bt_exit); +module_platform_driver(tosa_bt_driver);