kernel_samsung_a53x/drivers/bluetooth
Uri Arev 4ca2cf3a43 Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
[ Upstream commit 68aa21054ec3a1a313af90a5f95ade16c3326d20 ]

This fixes some CHECKs reported by the checkpatch script.

Issues reported in ath3k.c:
-------
ath3k.c
-------
CHECK: Please don't use multiple blank lines
+
+

CHECK: Blank lines aren't necessary after an open brace '{'
+static const struct usb_device_id ath3k_blist_tbl[] = {
+

CHECK: Alignment should match open parenthesis
+static int ath3k_load_firmware(struct usb_device *udev,
+                               const struct firmware *firmware)

CHECK: Alignment should match open parenthesis
+               err = usb_bulk_msg(udev, pipe, send_buf, size,
+                                       &len, 3000);

CHECK: Unnecessary parentheses around 'len != size'
+               if (err || (len != size)) {

CHECK: Alignment should match open parenthesis
+static int ath3k_get_version(struct usb_device *udev,
+                       struct ath3k_version *version)

CHECK: Alignment should match open parenthesis
+static int ath3k_load_fwfile(struct usb_device *udev,
+               const struct firmware *firmware)

CHECK: Alignment should match open parenthesis
+               err = usb_bulk_msg(udev, pipe, send_buf, size,
+                                       &len, 3000);

CHECK: Unnecessary parentheses around 'len != size'
+               if (err || (len != size)) {

CHECK: Blank lines aren't necessary after an open brace '{'
+       switch (fw_version.ref_clock) {
+

CHECK: Alignment should match open parenthesis
+       snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
+               le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");

CHECK: Alignment should match open parenthesis
+static int ath3k_probe(struct usb_interface *intf,
+                       const struct usb_device_id *id)

CHECK: Alignment should match open parenthesis
+                       BT_ERR("Firmware file \"%s\" not found",
+                                                       ATH3K_FIRMWARE);

CHECK: Alignment should match open parenthesis
+               BT_ERR("Firmware file \"%s\" request failed (err=%d)",
+                                               ATH3K_FIRMWARE, ret);

total: 0 errors, 0 warnings, 14 checks, 540 lines checked

Signed-off-by: Uri Arev <me@wantyapps.xyz>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:06 +01:00
..
ath3k.c Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl 2024-11-19 14:19:06 +01:00
bcm43xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm203x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bfusb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bluecard_cs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpa10x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bt3c_cs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btbcm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btbcm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btintel.c Bluetooth: btintel: Fixe build regression 2024-11-19 09:23:15 +01:00
btintel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btmrvl_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btmrvl_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btmrvl_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btmrvl_sdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btmrvl_sdio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btmtksdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btmtkuart.c Bluetooth: btmtkuart: fix recv_buf() return value 2024-11-18 12:12:38 +01:00
btpower.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btqca.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btqca.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btqcomsmd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btrsi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btrtl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btrtl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btsdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
btusb.c Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0bda:0x4853 2024-11-19 11:32:38 +01:00
btwilink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dtl1_cs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
h4_recv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_ag6xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_ath.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_bcm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_bcsp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_h4.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_h5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_intel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_ldisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_ll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_mrvl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_nokia.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_qca.c Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066 2024-11-18 12:13:17 +01:00
hci_serdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_uart.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hci_vhci.c Bluetooth: vhci: Fix race when opening vhci device 2024-11-08 11:26:08 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00