Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1760208ybl; Sat, 31 Aug 2019 01:42:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqygDfjd3bIVPNPdWXmtHEHWuV0UVXDUWjWczrHtUz3Bb0Nk5VmYU8JqlWw80/fIRBS/1PWE X-Received: by 2002:a63:211c:: with SMTP id h28mr16305247pgh.438.1567240925936; Sat, 31 Aug 2019 01:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567240925; cv=none; d=google.com; s=arc-20160816; b=IQ4FgubzHwqnGaN+PhJNGozW16rf5pCwGPXVmnEnvmsZaeB34cjm0PGqugKbNmTeYS nlVftCUg3YRNMRsBQor6vJQd+431XYZ5CU+91kQqRKCkzE7eTf6reMblxC1W9tXQPuQd 8xuZ14timEVKHtOkjvHmWGpW8H0icCww32vEp1hph+q6zpTs3MPeT1BXT+xx8uzaF0lJ 5wswAgoU0HmY/MVFtIQsQmRG4AP0FS+thi7LSLTk96QEoLyCNJYWUXd0vJHlrZoPA5wb ADiq6PG6X58A9spLJNqNx7rKtJ4UUsGdBcTXPSitTXYGFPo+lQhIOKz0RSyoE3h8OzAt P7tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:authenticated-by; bh=nZeBurINi1H8w5pdBsQdZxC0gzqOHImRPOn4/vEGE2k=; b=j2tFGOs+U3b51t3in4BDLy/ULVH00jb9gPc0lAfWnXG926CV/punX8bbjFwKH0aPNn 1DJwz9MAyBhncrCv/Kw2yaJlNkPRBOW+ivDszuXiaOxxzlKP0eVk74AEHSL26QzMS0Cy YhwP9wx8Z7RTZ1LdCql6z9ANnkh9Dxd/nYl9oIsVGWQb5Y4OZIgFWmL25wwTzhe15Q4H MHH8kgvmoBgeYFQzWRTlKroUn5w74azo45P3xF7iVlzTdrLSpL6U8TQpI6cvylCx1c/2 8It/X+sVGIhsWLrBpOAQLvVI/8/0gWN6ij8OSJnBCt+TxfjD9aYl7Lrjp0qnxKfbr9lt YEAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d35si6853598pla.179.2019.08.31.01.41.50; Sat, 31 Aug 2019 01:42:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726402AbfHaIlr (ORCPT + 99 others); Sat, 31 Aug 2019 04:41:47 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:33668 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfHaIlr (ORCPT ); Sat, 31 Aug 2019 04:41:47 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x7V8fXSa003174, This message is accepted by code: ctloc85258 Received: from RS-CAS02.realsil.com.cn (doc.realsil.com.cn[172.29.17.3](maybeforged)) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x7V8fXSa003174 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 31 Aug 2019 16:41:34 +0800 Received: from laptop-alex (116.136.21.149) by RS-CAS02.realsil.com.cn (172.29.17.3) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 31 Aug 2019 16:41:33 +0800 Date: Sat, 31 Aug 2019 16:41:13 +0800 From: Alex Lu To: Marcel Holtmann CC: Johan Hedberg , , , Max Chou Subject: [PATCH 1/2] Bluetooth: btrtl: Remove redundant prefix from calls to rtl_dev macros Message-ID: <20190831084030.GA10145@laptop-alex> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [116.136.21.149] Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Alex Lu the rtl: or RTL: prefix in the string is pointless. The rtl_dev_* macros already does that. Signed-off-by: Alex Lu --- drivers/bluetooth/btrtl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c index adb8ba0fcd59..20aeed3c1ee7 100644 --- a/drivers/bluetooth/btrtl.c +++ b/drivers/bluetooth/btrtl.c @@ -213,7 +213,7 @@ static int rtl_read_rom_version(struct hci_dev *hdev, u8 *version) } if (skb->len != sizeof(*rom_version)) { - rtl_dev_err(hdev, "RTL version event length mismatch\n"); + rtl_dev_err(hdev, "version event length mismatch\n"); kfree_skb(skb); return -EIO; } @@ -451,7 +451,7 @@ static int rtl_load_file(struct hci_dev *hdev, const char *name, u8 **buff) const struct firmware *fw; int ret; - rtl_dev_info(hdev, "rtl: loading %s\n", name); + rtl_dev_info(hdev, "loading %s\n", name); ret = request_firmware(&fw, name, &hdev->dev); if (ret < 0) return ret; @@ -551,7 +551,7 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, } resp = (struct hci_rp_read_local_version *)skb->data; - rtl_dev_info(hdev, "rtl: examining hci_ver=%02x hci_rev=%04x lmp_ver=%02x lmp_subver=%04x\n", + rtl_dev_info(hdev, "examining hci_ver=%02x hci_rev=%04x lmp_ver=%02x lmp_subver=%04x\n", resp->hci_ver, resp->hci_rev, resp->lmp_ver, resp->lmp_subver); @@ -564,7 +564,7 @@ struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, hdev->bus); if (!btrtl_dev->ic_info) { - rtl_dev_info(hdev, "rtl: unknown IC info, lmp subver %04x, hci rev %04x, hci ver %04x", + rtl_dev_info(hdev, "unknown IC info, lmp subver %04x, hci rev %04x, hci ver %04x", lmp_subver, hci_rev, hci_ver); return btrtl_dev; } @@ -622,7 +622,7 @@ int btrtl_download_firmware(struct hci_dev *hdev, * to a different value. */ if (!btrtl_dev->ic_info) { - rtl_dev_info(hdev, "rtl: assuming no firmware upload needed\n"); + rtl_dev_info(hdev, "assuming no firmware upload needed\n"); return 0; } @@ -636,7 +636,7 @@ int btrtl_download_firmware(struct hci_dev *hdev, case RTL_ROM_LMP_8822B: return btrtl_setup_rtl8723b(hdev, btrtl_dev); default: - rtl_dev_info(hdev, "rtl: assuming no firmware upload needed\n"); + rtl_dev_info(hdev, "assuming no firmware upload needed\n"); return 0; } } -- 2.21.0