ARM: pxa: magician: Move platform_add_devices() to the end of magician_init()
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 28 Sep 2015 21:42:23 +0000 (23:42 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 14 Oct 2015 21:07:00 +0000 (23:07 +0200)
commit78afa4fcf4c10ef5bf9828c94443792257159d88
tree0d8561c3d85d04dadd430012e5828d2b3138a8c5
parente2f1b8b0ad1e8bd083241a79c179448ec7994b2a
ARM: pxa: magician: Move platform_add_devices() to the end of magician_init()

This patch moves platform_add_devices() (standard declaration of devices)
outside of the platform specific device declarations. Moving to the end
of the magician_init() clarifies the source code (standard and specific
declaration are not mixed).

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/magician.c