summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btmrvl_main.c
diff options
context:
space:
mode:
authorArend van Spriel <arend.vanspriel@broadcom.com>2018-05-18 01:15:12 +0300
committerMarcel Holtmann <marcel@holtmann.org>2018-05-29 16:59:50 +0300
commit45650499ee1844c0a6cc1ff143ea02b359fdac9b (patch)
tree13f3e83e24dc471936b36b81987bd5143cb33bd6 /drivers/bluetooth/btmrvl_main.c
parent803cdb8ce584198cd45825822910cac7de6378cb (diff)
downloadlinux-45650499ee1844c0a6cc1ff143ea02b359fdac9b.tar.xz
Bluetooth: btmrvl: support sysfs initiated firmware coredump
Since commit 3c47d19ff4dc ("drivers: base: add coredump driver ops") it is possible to initiate a device coredump from user-space. This patch adds support for it in btmrvl_sdio adding the .coredump() driver callback. This makes dump through debugfs obsolete so removing it. Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_main.c')
-rw-r--r--drivers/bluetooth/btmrvl_main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/bluetooth/btmrvl_main.c b/drivers/bluetooth/btmrvl_main.c
index f6c694a1b9b0..708ad21683eb 100644
--- a/drivers/bluetooth/btmrvl_main.c
+++ b/drivers/bluetooth/btmrvl_main.c
@@ -358,12 +358,6 @@ int btmrvl_prepare_command(struct btmrvl_private *priv)
return ret;
}
-void btmrvl_firmware_dump(struct btmrvl_private *priv)
-{
- if (priv->firmware_dump)
- priv->firmware_dump(priv);
-}
-
static int btmrvl_tx_pkt(struct btmrvl_private *priv, struct sk_buff *skb)
{
int ret = 0;