staging: wilc1000: linux_wlan: remove unused define CUSTOMER_PLATFORM
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:11 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch remove unused define CUSTOMER_PLATFORM from linux_wlan.c.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c

index d50f0d6a15cde4aa1717a30d592785d5fef6d0d9..a9052ed0133998b723c51347442a44d88cd6f049 100644 (file)
 #include "linux_wlan_spi.h"
 #endif
 
-#if defined(CUSTOMER_PLATFORM)
-/*
- TODO : Write power control functions as customer platform.
- */
-#else
-
  #define _linux_wlan_device_power_on()         {}
  #define _linux_wlan_device_power_off()                {}
 
  #define _linux_wlan_device_detection()                {}
  #define _linux_wlan_device_removal()          {}
-#endif
 
 extern bool g_obtainingIP;
 extern void resolve_disconnect_aberration(void *drvHandler);
@@ -278,15 +271,7 @@ static int init_irq(struct net_device *dev)
        /*GPIO request*/
        if ((gpio_request(GPIO_NUM, "WILC_INTR") == 0) &&
            (gpio_direction_input(GPIO_NUM) == 0)) {
-#if defined(CUSTOMER_PLATFORM)
-/*
- TODO : save the registerd irq number to the private wilc context in kernel.
- *
- * ex) nic->dev_irq_num = gpio_to_irq(GPIO_NUM);
- */
-#else
                wl->dev_irq_num = gpio_to_irq(GPIO_NUM);
-#endif
        } else {
                ret = -1;
                PRINT_ER("could not obtain gpio for WILC_INTR\n");
This page took 0.026568 seconds and 5 git commands to generate.