]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/x86/platform/iris/iris.c: register a platform device and a platform driver
authorShérab <Sebastien.Hinderer@ens-lyon.org>
Tue, 8 Nov 2011 00:19:51 +0000 (11:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 15 Nov 2011 01:49:28 +0000 (12:49 +1100)
commitbc6f2941daa6ba0bfd724a09e64a97ab670372de
tree9bb839d55dd4cc7a410efbad838131ac5c09037d
parent624644dc1ed4941772cbe101c3049f9d7b661a15
arch/x86/platform/iris/iris.c: register a platform device and a platform driver

This makes the iris driver use the platform API, so it is properly exposed
in /sys.

[akpm@linux-foundation.org: remove commented-out code, add missing space to printk, clean up code layout]
Signed-off-by: Shérab <Sebastien.Hinderer@ens-lyon.org>
Cc: Len Brown <lenb@kernel.org>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/platform/iris/iris.c