[POWERPC] Move of_device_get_modalias to drivers/of

Commit 140b932f8c ("Create modalias file
in sysfs for of_platform bus") needs this to avoid breaking the sparc
builds.

Just move the code and add whitespace around some binary operators.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Stephen Rothwell 2008-05-16 11:57:45 +10:00 • committed by Paul Mackerras
commit 09e67ca2c5
4 changed files with 51 additions and 50 deletions