Commit c2eda352 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: fix indentation level

This patch removes unnecessary block braces and fix indentation.
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent afcd8c51
...@@ -1879,28 +1879,26 @@ static void __exit exit_wilc_driver(void) ...@@ -1879,28 +1879,26 @@ static void __exit exit_wilc_driver(void)
} }
} }
{ #ifndef WILC_SDIO
#ifndef WILC_SDIO PRINT_D(INIT_DBG, "SPI unregsiter...\n");
PRINT_D(INIT_DBG, "SPI unregsiter...\n"); spi_unregister_driver(&wilc_bus);
spi_unregister_driver(&wilc_bus); #else
#else PRINT_D(INIT_DBG, "SDIO unregsiter...\n");
PRINT_D(INIT_DBG, "SDIO unregsiter...\n"); sdio_unregister_driver(&wilc_bus);
sdio_unregister_driver(&wilc_bus); #endif
#endif
if (g_linux_wlan != NULL) { if (g_linux_wlan != NULL) {
kfree(g_linux_wlan); kfree(g_linux_wlan);
g_linux_wlan = NULL; g_linux_wlan = NULL;
} }
printk("Module_exit Done.\n"); printk("Module_exit Done.\n");
#if defined(WILC_DEBUGFS) #if defined(WILC_DEBUGFS)
wilc_debugfs_remove(); wilc_debugfs_remove();
#endif #endif
linux_wlan_device_detection(0); linux_wlan_device_detection(0);
linux_wlan_device_power(0); linux_wlan_device_power(0);
}
} }
module_exit(exit_wilc_driver); module_exit(exit_wilc_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment