]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 b2b2bde8edba3085ae088f52acc0e8c4c3020b41..c81f7aba4b57a4997118c845fea4ae89f382ddff 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) {                    \