Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc: fix trivial style issues in kernel/pmc.c

o drop trailing whitespaces
o align a fix things properly

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sam Ravnborg and committed by
David S. Miller
85bfbf44 39f6649b

+8 -8
+8 -8
arch/sparc/kernel/pmc.c
··· 24 24 */ 25 25 26 26 #define PMC_OBPNAME "SUNW,pmc" 27 - #define PMC_DEVNAME "pmc" 27 + #define PMC_DEVNAME "pmc" 28 28 29 29 #define PMC_IDLE_REG 0x00 30 - #define PMC_IDLE_ON 0x01 30 + #define PMC_IDLE_ON 0x01 31 31 32 32 static u8 __iomem *regs; 33 33 34 34 #define pmc_readb(offs) (sbus_readb(regs+offs)) 35 - #define pmc_writeb(val, offs) (sbus_writeb(val, regs+offs)) 35 + #define pmc_writeb(val, offs) (sbus_writeb(val, regs+offs)) 36 36 37 - /* 37 + /* 38 38 * CPU idle callback function 39 39 * See .../arch/sparc/kernel/process.c 40 40 */ 41 41 static void pmc_swift_idle(void) 42 42 { 43 43 #ifdef PMC_DEBUG_LED 44 - set_auxio(0x00, AUXIO_LED); 44 + set_auxio(0x00, AUXIO_LED); 45 45 #endif 46 46 47 47 pmc_writeb(pmc_readb(PMC_IDLE_REG) | PMC_IDLE_ON, PMC_IDLE_REG); 48 48 49 49 #ifdef PMC_DEBUG_LED 50 - set_auxio(AUXIO_LED, 0x00); 50 + set_auxio(AUXIO_LED, 0x00); 51 51 #endif 52 - } 52 + } 53 53 54 54 static int __devinit pmc_probe(struct of_device *op, 55 55 const struct of_device_id *match) ··· 63 63 64 64 #ifndef PMC_NO_IDLE 65 65 /* Assign power management IDLE handler */ 66 - pm_idle = pmc_swift_idle; 66 + pm_idle = pmc_swift_idle; 67 67 #endif 68 68 69 69 printk(KERN_INFO "%s: power management initialized\n", PMC_DEVNAME);