summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/sd8897/bt/bt_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/sd8897/bt/bt_main.c')
-rw-r--r--drivers/bluetooth/sd8897/bt/bt_main.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/bluetooth/sd8897/bt/bt_main.c b/drivers/bluetooth/sd8897/bt/bt_main.c
index 3707d8d86b41..d7ce8ec4733b 100644
--- a/drivers/bluetooth/sd8897/bt/bt_main.c
+++ b/drivers/bluetooth/sd8897/bt/bt_main.c
@@ -115,8 +115,6 @@ static int minicard_pwrup = 1;
/** Pointer to struct with control hooks */
static struct wifi_platform_data *bt_control_data;
-void mdev_poweroff(struct m_dev *m_dev);
-
/**
* @brief Alloc bt device
*
@@ -1525,7 +1523,6 @@ init_m_dev(struct m_dev *m_dev)
m_dev->ioctl = mdev_ioctl;
m_dev->query = mdev_query;
m_dev->owner = THIS_MODULE;
- m_dev->poweroff = mdev_poweroff;
}
@@ -2280,19 +2277,6 @@ bt_set_power(int on, unsigned long msec)
return 0;
}
-void
-mdev_poweroff(struct m_dev *m_dev)
-{
- ENTER();
-
- if (minicard_pwrup) {
- bt_set_power(0, 0);
- bt_set_carddetect(0);
- }
-
- LEAVE();
-}
-
/**
* @brief This function probes the platform-level device
*