ARM: shmobile: r8a7740 pinmux platform device cleanup
authorMagnus Damm <damm@opensource.se>
Wed, 3 Apr 2013 06:32:58 +0000 (15:32 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 5 Jun 2013 08:18:22 +0000 (17:18 +0900)
commit3404622a77f90168fd1190c64e92edf548c0f8f0
tree47e4d2ca8d492f5d1d4278178f0f95f015f5d351
parentd93906b869dd9444823f04ea64a585143f18a26e
ARM: shmobile: r8a7740 pinmux platform device cleanup

Use DEFINE_RES_MEM() and platform_device_register_simple()
to save a couple of lines of code.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7740.c