From: Maxim Zhukov Date: Sun, 4 Feb 2018 21:09:47 +0000 (+0300) Subject: Bluetooth: ath3k: fix checkpatch warning X-Git-Tag: v4.17-rc1~148^2~421^2~6 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=0a21963aacfe88fdbfe6166781d4ccd159197bd6;p=linux.git 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 Signed-off-by: Marcel Holtmann --- 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 = {