]> err.no Git - linux-2.6/commit
[POWERPC] iseries: Cleanup e2a() and strne2a()
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 13 Jul 2006 07:52:06 +0000 (17:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Jul 2006 08:42:20 +0000 (18:42 +1000)
commita892e5d7fa7fb893b5873f7150a83f6f1ee141b5
tree7bf5194235b14ffc837ed38db7110d01eb7a6089
parentdac411e7aa92d23dadbcb8721845ab88577294c7
[POWERPC] iseries: Cleanup e2a() and strne2a()

e2a() was formally used by lparcfg, and so had to be exported, but isn't
anymore, so don't.

e2a() and strne2a() can both be static, and __init.

And e2a can be made much more concise if we use x ... y case labels, while
we're there add support for lower case letters.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/platforms/iseries/dt.c