Skip to content

Commit

Permalink
bluetooth: remove set_device_wakeup
Browse files Browse the repository at this point in the history
  • Loading branch information
christophgysin committed Sep 29, 2019
1 parent c9a59a8 commit ddf622a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/bluetooth/hci_bcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,6 @@ static int bcm_gpio_set_power(struct bcm_device *dev, bool powered)
if (err)
goto err_txco_clk_disable;

err = dev->set_device_wakeup(dev, powered);
if (err)
goto err_revert_shutdown;

if (!powered && dev->res_enabled) {
clk_disable_unprepare(dev->txco_clk);
clk_disable_unprepare(dev->lpo_clk);
Expand All @@ -266,8 +262,6 @@ static int bcm_gpio_set_power(struct bcm_device *dev, bool powered)

return 0;

err_revert_shutdown:
dev->set_shutdown(dev, !powered);
err_txco_clk_disable:
if (powered && !dev->res_enabled)
clk_disable_unprepare(dev->txco_clk);
Expand Down

0 comments on commit ddf622a

Please sign in to comment.