]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i3c: mipi-i3c-hci: Remove duplicate blank lines
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 6 Jan 2026 16:44:06 +0000 (18:44 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 14:53:33 +0000 (15:53 +0100)
Remove duplicate blank lines from mipi-i3c-hci code.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260106164416.67074-2-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/cmd_v1.c
drivers/i3c/master/mipi-i3c-hci/cmd_v2.c
drivers/i3c/master/mipi-i3c-hci/core.c
drivers/i3c/master/mipi-i3c-hci/dat_v1.c
drivers/i3c/master/mipi-i3c-hci/dma.c
drivers/i3c/master/mipi-i3c-hci/ext_caps.c
drivers/i3c/master/mipi-i3c-hci/ext_caps.h
drivers/i3c/master/mipi-i3c-hci/hci.h
drivers/i3c/master/mipi-i3c-hci/pio.c

index eb8a3ae2990d772650879db7eaf230625d7982b4..fe260461e7e619709042400d7dd80b223f02e542 100644 (file)
@@ -15,7 +15,6 @@
 #include "dat.h"
 #include "dct.h"
 
-
 /*
  * Address Assignment Command
  */
 #define CMD_M0_VENDOR_INFO_PRESENT                W0_BIT_( 7)
 #define CMD_M0_TID(v)                  FIELD_PREP(W0_MASK( 6,  3), v)
 
-
 /* Data Transfer Speed and Mode */
 enum hci_cmd_mode {
        MODE_I3C_SDR0           = 0x0,
index efb4326a25b73e5ae03fbe0eea0384517dd1e824..3729e6419581892487823c94be75ac4e05405601 100644 (file)
@@ -16,7 +16,6 @@
 #include "cmd.h"
 #include "xfer_mode_rate.h"
 
-
 /*
  * Unified Data Transfer Command
  */
@@ -62,7 +61,6 @@
 #define CMD_A0_ASSIGN_ADDRESS(v)       FIELD_PREP(W0_MASK( 14,   8), v)
 #define CMD_A0_TID(v)                  FIELD_PREP(W0_MASK(  6,   3), v)
 
-
 static unsigned int get_i3c_rate_idx(struct i3c_hci *hci)
 {
        struct i3c_bus *bus = i3c_master_get_bus(&hci->master);
index 607d77ab0e54691705845c33a79939820a83c9f0..211321f73e02c23d8ee8233a11cfce85c3791ef9 100644 (file)
@@ -21,7 +21,6 @@
 #include "cmd.h"
 #include "dat.h"
 
-
 /*
  * Host Controller Capabilities and Operation Registers
  */
 #define DEV_CTX_BASE_LO                        0x60
 #define DEV_CTX_BASE_HI                        0x64
 
-
 static inline struct i3c_hci *to_i3c_hci(struct i3c_master_controller *m)
 {
        return container_of(m, struct i3c_hci, master);
index 85c4916972e4405ee551d3328dd835d50a0e48dc..cc5d2deb23ab48c9da1057b37f8db3e35817406e 100644 (file)
@@ -15,7 +15,6 @@
 #include "hci.h"
 #include "dat.h"
 
-
 /*
  * Device Address Table Structure
  */
index c401a9425cdc59aaf65148e7c665f5e7f3d44e1e..f20db28999893f1282127c726e647f8daa298e01 100644 (file)
@@ -20,7 +20,6 @@
 #include "cmd.h"
 #include "ibi.h"
 
-
 /*
  * Software Parameter Values (somewhat arb itrary for now).
  * Some of them could be determined at run time eventually.
 #define DATA_BUF_IOC                   BIT(30) /* Interrupt on Completion */
 #define DATA_BUF_BLOCK_SIZE            GENMASK(15, 0)
 
-
 struct hci_rh_data {
        void __iomem *regs;
        void *xfer, *resp, *ibi_status, *ibi_data;
index 7714f00ea9cc098246ae3390a1b19e1eb982a450..40939af0b0e355e819ce875e2b148e477a1e37dd 100644 (file)
@@ -16,7 +16,6 @@
 #include "ext_caps.h"
 #include "xfer_mode_rate.h"
 
-
 /* Extended Capability Header */
 #define CAP_HEADER_LENGTH              GENMASK(23, 8)
 #define CAP_HEADER_ID                  GENMASK(7, 0)
index 9df17822fdb40972dfddfb0e661e4d642a0bafe6..b15e629951f03d3fd7923d74762092f2a838368a 100644 (file)
@@ -13,7 +13,6 @@
 /* MIPI vendor IDs */
 #define MIPI_VENDOR_NXP                        0x11b
 
-
 int i3c_hci_parse_ext_caps(struct i3c_hci *hci);
 
 #endif
index 249ccb13c909288b418938112f4997aebc212bd6..3f88b67bc5cc285b5896af4829bd9754905f89aa 100644 (file)
@@ -62,7 +62,6 @@ struct i3c_hci {
        void *vendor_data;
 };
 
-
 /*
  * Structure to represent a master initiated transfer.
  * The rnw, data and data_len fields must be initialized before calling any
@@ -108,7 +107,6 @@ static inline void hci_free_xfer(struct hci_xfer *xfer, unsigned int n)
        kfree(xfer);
 }
 
-
 /* This abstracts PIO vs DMA operations */
 struct hci_io_ops {
        bool (*irq_handler)(struct i3c_hci *hci);
@@ -126,21 +124,18 @@ struct hci_io_ops {
 extern const struct hci_io_ops mipi_i3c_hci_pio;
 extern const struct hci_io_ops mipi_i3c_hci_dma;
 
-
 /* Our per device master private data */
 struct i3c_hci_dev_data {
        int dat_idx;
        void *ibi_data;
 };
 
-
 /* list of quirks */
 #define HCI_QUIRK_RAW_CCC      BIT(1)  /* CCC framing must be explicit */
 #define HCI_QUIRK_PIO_MODE     BIT(2)  /* Set PIO mode for AMD platforms */
 #define HCI_QUIRK_OD_PP_TIMING         BIT(3)  /* Set OD and PP timings for AMD platforms */
 #define HCI_QUIRK_RESP_BUF_THLD                BIT(4)  /* Set resp buf thld to 0 for AMD platforms */
 
-
 /* global functions */
 void mipi_i3c_hci_resume(struct i3c_hci *hci);
 void mipi_i3c_hci_pio_reset(struct i3c_hci *hci);
index 710faa46a00faa9b558efc91eaeb667caef40a2e..142f3f79415b17bec7b0e4d1b6081fd0075eb289 100644 (file)
@@ -15,7 +15,6 @@
 #include "cmd.h"
 #include "ibi.h"
 
-
 /*
  * PIO Access Area
  */