]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: musb: dsps: coding style cleanup
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 30 Jun 2014 10:51:57 +0000 (12:51 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 30 Jun 2014 10:51:57 +0000 (12:51 +0200)
There is no reason for the register accessor functions not to adhere
to the CodingStyle rules.

drivers/usb/musb/musb_dsps.c

index 51beb13c7e1a4d4f9694a5469a12363751ef5d6b..56c5d3fd6f6cd81c1938a7e619637217c2c7c323 100644 (file)
@@ -56,16 +56,24 @@ static const struct of_device_id musb_dsps_of_match[];
  * dependent on musb core layer symbols.
  */
 static inline u8 dsps_readb(const void __iomem *addr, unsigned offset)
-       { return __raw_readb(addr + offset); }
+{
+       return __raw_readb(addr + offset);
+}
 
 static inline u32 dsps_readl(const void __iomem *addr, unsigned offset)
-       { return __raw_readl(addr + offset); }
+{
+       return __raw_readl(addr + offset);
+}
 
 static inline void dsps_writeb(void __iomem *addr, unsigned offset, u8 data)
-       { __raw_writeb(data, addr + offset); }
+{
+       __raw_writeb(data, addr + offset);
+}
 
 static inline void dsps_writel(void __iomem *addr, unsigned offset, u32 data)
-       { __raw_writel(data, addr + offset); }
+{
+       __raw_writel(data, addr + offset);
+}
 
 /**
  * DSPS musb wrapper register offset.