Commit 85bfbf44c37e403d4fcbcd630b3ca2377b156485
Committed by
David S. Miller
1 parent
39f6649b61
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 8 additions and 8 deletions Side-by-side Diff
arch/sparc/kernel/pmc.c
... | ... | @@ -24,32 +24,32 @@ |
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,7 +63,7 @@ |
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); |