]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc772d16eec8f81a1b1fb418a07004c1ecab422d5
treeee4f4da4d3f91c4331feccff5b0b20f4f8a277a1
parentf36fcd8fd3e47a0845a42bace3925bb4fc506f34
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