isdn: remove extra spaces in the header file
authorTong Zhang <ztong0001@gmail.com>
Thu, 11 Mar 2021 04:27:55 +0000 (23:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Mar 2021 02:23:55 +0000 (18:23 -0800)
fix some coding style issues in the isdn header

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/iohelper.h

index b2b2bde..c81f7ab 100644 (file)
 #ifndef _IOHELPER_H
 #define _IOHELPER_H
 
-typedef        u8      (read_reg_func)(void *hwp, u8 offset);
-                              typedef  void    (write_reg_func)(void *hwp, u8 offset, u8 value);
-                              typedef  void    (fifo_func)(void *hwp, u8 offset, u8 *datap, int size);
+typedef u8 (read_reg_func)(void *hwp, u8 offset);
+typedef void (write_reg_func)(void *hwp, u8 offset, u8 value);
+typedef void (fifo_func)(void *hwp, u8 offset, u8 *datap, int size);
 
-                              struct _ioport {
-                                      u32      port;
-                                      u32      ale;
-                              };
+struct _ioport {
+       u32 port;
+       u32 ale;
+};
 
 #define IOFUNC_IO(name, hws, ap)                                       \
        static u8 Read##name##_IO(void *p, u8 off) {                    \