wlcore: remove unused set_power method
authorLuciano Coelho <coelho@ti.com>
Wed, 23 Jan 2013 14:40:34 +0000 (16:40 +0200)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Feb 2013 08:05:01 +0000 (10:05 +0200)
There is no platform-specific set_power method anymore.  Power setting
is done in the bus modules (wlcore_sdio and wlcore_spi).

Signed-off-by: Luciano Coelho <coelho@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore.h

index e1dfdf94d0f7218a533d3762a08fb676f328ca5d..9a66acf1205f01b8b9f4c72d5513d466aa7818f1 100644 (file)
@@ -5995,7 +5995,6 @@ static void wlcore_nvs_cb(const struct firmware *fw, void *context)
 
        wl->irq = platform_get_irq(pdev, 0);
        wl->platform_quirks = pdata->platform_quirks;
-       wl->set_power = pdata->set_power;
        wl->if_ops = pdata->ops;
 
        if (wl->platform_quirks & WL12XX_PLATFORM_QUIRK_EDGE_IRQ)
index ebd8c6fad7cdda4b474bd0e49abb62dc05cf9666..af9fecaefc30801cd96a35942ca2a4a48b900f49 100644 (file)
@@ -183,7 +183,6 @@ struct wl1271 {
 
        struct wl1271_if_operations *if_ops;
 
-       void (*set_power)(bool enable);
        int irq;
 
        spinlock_t wl_lock;