ARM: shmobile: sh73a0 pinmux platform device cleanup
authorMagnus Damm <damm@opensource.se>
Thu, 27 Jun 2013 08:09:01 +0000 (17:09 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 17 Jul 2013 01:02:21 +0000 (10:02 +0900)
commit474f67587345bf7b32bbd9d2b5621e85500103c5
treeee4f4da4d3f91c4331feccff5b0b20f4f8a277a1
parentc9031fbb35bd44d99c5cfe7d3c97ec238d63643a
ARM: shmobile: sh73a0 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>
[ remove const from resource pfc_resources to avoid section miss-match
  reported by 4.4.5 ]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-sh73a0.c