summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/ath3k.c
diff options
context:
space:
mode:
authorMaxim Zhukov <mussitantesmortem@gmail.com>2018-02-05 00:09:47 +0300
committerMarcel Holtmann <marcel@holtmann.org>2018-02-07 11:46:09 +0300
commit0a21963aacfe88fdbfe6166781d4ccd159197bd6 (patch)
treee9c8e24904f521d62a269d5525d20c5ee1d28d57 /drivers/bluetooth/ath3k.c
parent3d08f43c73c4144517e31f3cf7564f98e81fd28f (diff)
downloadlinux-0a21963aacfe88fdbfe6166781d4ccd159197bd6.tar.xz
Bluetooth: ath3k: fix checkpatch warning
This patch fixed warning: WARNING: Prefer using '"%s...", __func__' to using 'ath3k_disconnect', this function's name, in a string #568: FILE: drivers/bluetooth/ath3k.c:568: + BT_DBG("ath3k_disconnect intf %p", intf); Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/ath3k.c')
-rw-r--r--drivers/bluetooth/ath3k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
index 8fe5ec4bb342..3d7a5c149af3 100644
--- a/drivers/bluetooth/ath3k.c
+++ b/drivers/bluetooth/ath3k.c
@@ -569,7 +569,7 @@ static int ath3k_probe(struct usb_interface *intf,
static void ath3k_disconnect(struct usb_interface *intf)
{
- BT_DBG("ath3k_disconnect intf %p", intf);
+ BT_DBG("%s intf %p", __func__, intf);
}
static struct usb_driver ath3k_driver = {