summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-10-02 10:41:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-02 13:04:52 +0300
commitc2eda352d046b3bd48d7916da9b2bfefbddffacf (patch)
treea2d919f9ca0522c2f271107d209d67d983c4c95d
parentafcd8c514698d96842d76db649e0237bd384d81a (diff)
downloadlinux-c2eda352d046b3bd48d7916da9b2bfefbddffacf.tar.xz
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>
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c32
1 files changed, 15 insertions, 17 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 50631c500e2c..f6a628719fd5 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -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
+#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 (g_linux_wlan != NULL) {
+ kfree(g_linux_wlan);
+ g_linux_wlan = NULL;
+ }
+ printk("Module_exit Done.\n");
#if defined(WILC_DEBUGFS)
- wilc_debugfs_remove();
+ wilc_debugfs_remove();
#endif
- linux_wlan_device_detection(0);
- linux_wlan_device_power(0);
- }
+ linux_wlan_device_detection(0);
+ linux_wlan_device_power(0);
}
module_exit(exit_wilc_driver);