]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
can: peak_usb: pcan_usb_pro.h: remove double space in indention
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 5 Apr 2021 19:31:52 +0000 (21:31 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Apr 2021 08:15:43 +0000 (10:15 +0200)
This patch replaces the double space indention after the u8 with a
single space in pcan_usb_pro.h.

Link: https://lore.kernel.org/r/20210406111622.1874957-3-mkl@pengutronix.de
Acked-by: Stephane Grosjean <s.grosjean@peak-system.com>
Tested-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_pro.h

index 6f4504300e239c7f4f59db35aabda4637e7afa1e..5d4cf14eb9d9e3190a79e200f9c412ca4cfa21d8 100644 (file)
 /* PCAN_USBPRO_INFO_BL vendor request record type */
 struct __packed pcan_usb_pro_blinfo {
        __le32 ctrl_type;
-       u8  version[4];
-       u8  day;
-       u8  month;
-       u8  year;
-       u8  dummy;
+       u8 version[4];
+       u8 day;
+       u8 month;
+       u8 year;
+       u8 dummy;
        __le32 serial_num_hi;
        __le32 serial_num_lo;
        __le32 hw_type;
@@ -48,11 +48,11 @@ struct __packed pcan_usb_pro_blinfo {
 /* PCAN_USBPRO_INFO_FW vendor request record type */
 struct __packed pcan_usb_pro_fwinfo {
        __le32 ctrl_type;
-       u8  version[4];
-       u8  day;
-       u8  month;
-       u8  year;
-       u8  dummy;
+       u8 version[4];
+       u8 day;
+       u8 month;
+       u8 year;
+       u8 dummy;
        __le32 fw_type;
 };
 
@@ -78,39 +78,39 @@ struct __packed pcan_usb_pro_fwinfo {
 
 /* record structures */
 struct __packed pcan_usb_pro_btr {
-       u8  data_type;
-       u8  channel;
+       u8 data_type;
+       u8 channel;
        __le16 dummy;
        __le32 CCBT;
 };
 
 struct __packed pcan_usb_pro_busact {
-       u8  data_type;
-       u8  channel;
+       u8 data_type;
+       u8 channel;
        __le16 onoff;
 };
 
 struct __packed pcan_usb_pro_silent {
-       u8  data_type;
-       u8  channel;
+       u8 data_type;
+       u8 channel;
        __le16 onoff;
 };
 
 struct __packed pcan_usb_pro_filter {
-       u8  data_type;
-       u8  dummy;
+       u8 data_type;
+       u8 dummy;
        __le16 filter_mode;
 };
 
 struct __packed pcan_usb_pro_setts {
-       u8  data_type;
-       u8  dummy;
+       u8 data_type;
+       u8 dummy;
        __le16 mode;
 };
 
 struct __packed pcan_usb_pro_devid {
-       u8  data_type;
-       u8  channel;
+       u8 data_type;
+       u8 channel;
        __le16 dummy;
        __le32 serial_num;
 };
@@ -122,21 +122,21 @@ struct __packed pcan_usb_pro_devid {
 #define PCAN_USBPRO_LED_OFF            0x04
 
 struct __packed pcan_usb_pro_setled {
-       u8  data_type;
-       u8  channel;
+       u8 data_type;
+       u8 channel;
        __le16 mode;
        __le32 timeout;
 };
 
 struct __packed pcan_usb_pro_rxmsg {
-       u8  data_type;
-       u8  client;
-       u8  flags;
-       u8  len;
+       u8 data_type;
+       u8 client;
+       u8 flags;
+       u8 len;
        __le32 ts32;
        __le32 id;
 
-       u8  data[8];
+       u8 data[8];
 };
 
 #define PCAN_USBPRO_STATUS_ERROR       0x0001
@@ -145,26 +145,26 @@ struct __packed pcan_usb_pro_rxmsg {
 #define PCAN_USBPRO_STATUS_QOVERRUN    0x0008
 
 struct __packed pcan_usb_pro_rxstatus {
-       u8  data_type;
-       u8  channel;
+       u8 data_type;
+       u8 channel;
        __le16 status;
        __le32 ts32;
        __le32 err_frm;
 };
 
 struct __packed pcan_usb_pro_rxts {
-       u8  data_type;
-       u8  dummy[3];
+       u8 data_type;
+       u8 dummy[3];
        __le32 ts64[2];
 };
 
 struct __packed pcan_usb_pro_txmsg {
-       u8  data_type;
-       u8  client;
-       u8  flags;
-       u8  len;
+       u8 data_type;
+       u8 client;
+       u8 flags;
+       u8 len;
        __le32 id;
-       u8  data[8];
+       u8 data[8];
 };
 
 union pcan_usb_pro_rec {