]> 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>
Fri, 16 Dec 2011 04:49:27 +0000 (15:49 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 Dec 2011 07:19:14 +0000 (18:19 +1100)
commitd7914d8624b8ea9e697cbfcdc1cbdb71c5b34a1c
treeb13c479ed3eb98282df29ae62fc834db7cc3c86e
parent7f4f425a27cc98cf5a7e4ed3887967f32770f9c1
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