]> 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, 8 Dec 2011 04:32:08 +0000 (15:32 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:18:45 +0000 (15:18 +1100)
commit392c81ae39a08ff14842a8f3370f97531bad5209
treea5a6bdd41a6ea7da0b50e705bb71d503f74d50a4
parent2b7739f248e9fd6cf2c7f1944e4a18f794cd3aba
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