Skip to content

Commit

Permalink
wlcore: remove unused set_power method
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luciano Coelho committed Feb 8, 2013
1 parent 9646b13 commit 3a0a8d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion drivers/net/wireless/ti/wlcore/wlcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ struct wl1271 {

struct wl1271_if_operations *if_ops;

void (*set_power)(bool enable);
int irq;

spinlock_t wl_lock;
Expand Down

0 comments on commit 3a0a8d9

Please sign in to comment.