]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: sh7372 pinmux platform device cleanup
authorMagnus Damm <damm@opensource.se>
Wed, 3 Apr 2013 06:33:18 +0000 (15:33 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Apr 2013 02:03:44 +0000 (11:03 +0900)
commitb3faa8ac0ccd166733298929448b035c17b6c57e
tree1df6fb27d25b854f02cd5ed57428f272393253a1
parent041b7dd7de5953bd32f591a783993ff807aa09eb
ARM: shmobile: sh7372 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-sh7372.c