]> 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>
Wed, 16 Nov 2011 01:46:50 +0000 (12:46 +1100)
commitf587f31722cbf4f9be01d3a71f62d5d93e037d79
treeec42a9b80efb5e6bbe16c07b3f6b5690a30164cc
parent45e981c9d168982eda3be15e1a724a7baca30041
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