mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
staging: wilc1000: fix indentation level
This patch removes unnecessary block braces and fix indentation. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
afcd8c5146
commit
c2eda352d0
1 changed files with 15 additions and 17 deletions
|
|
@ -1879,28 +1879,26 @@ static void __exit exit_wilc_driver(void)
|
|||
}
|
||||
}
|
||||
|
||||
{
|
||||
#ifndef WILC_SDIO
|
||||
PRINT_D(INIT_DBG, "SPI unregsiter...\n");
|
||||
spi_unregister_driver(&wilc_bus);
|
||||
#else
|
||||
PRINT_D(INIT_DBG, "SDIO unregsiter...\n");
|
||||
sdio_unregister_driver(&wilc_bus);
|
||||
#endif
|
||||
|
||||
if (g_linux_wlan != NULL) {
|
||||
kfree(g_linux_wlan);
|
||||
g_linux_wlan = NULL;
|
||||
}
|
||||
printk("Module_exit Done.\n");
|
||||
|
||||
#if defined(WILC_DEBUGFS)
|
||||
wilc_debugfs_remove();
|
||||
#ifndef WILC_SDIO
|
||||
PRINT_D(INIT_DBG, "SPI unregsiter...\n");
|
||||
spi_unregister_driver(&wilc_bus);
|
||||
#else
|
||||
PRINT_D(INIT_DBG, "SDIO unregsiter...\n");
|
||||
sdio_unregister_driver(&wilc_bus);
|
||||
#endif
|
||||
|
||||
linux_wlan_device_detection(0);
|
||||
linux_wlan_device_power(0);
|
||||
if (g_linux_wlan != NULL) {
|
||||
kfree(g_linux_wlan);
|
||||
g_linux_wlan = NULL;
|
||||
}
|
||||
printk("Module_exit Done.\n");
|
||||
|
||||
#if defined(WILC_DEBUGFS)
|
||||
wilc_debugfs_remove();
|
||||
#endif
|
||||
|
||||
linux_wlan_device_detection(0);
|
||||
linux_wlan_device_power(0);
|
||||
}
|
||||
module_exit(exit_wilc_driver);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue