]> 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>
Thu, 25 Oct 2012 01:14:39 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Nov 2012 05:00:42 +0000 (16:00 +1100)
commitd35748042503bbe8a1f82b5aa3ee9b1952e728d3
tree351e076671650b1185a06c4d1773cf7107de95e9
parentc05eca72c4cda8927d7631421e9ae15b06d00db2
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