[PATCH 0/2] ARM: imx: bug fix and convertion to platform_device_register_full()

From: Emil Goode
Date: Sun May 18 2014 - 16:51:23 EST


This small series fixes a potential NULL pointer dereference bug and
also converts the imx camera allocation and initialization functions
to use platform_device_register_full().

The change the first patch makes is removed by the second patch, so the
purpose of the first one is purely for easy backporting and git history.

Emil Goode (2):
ARM: imx: fix error handling in ipu device registration
ARM: imx: convert camera init to use platform_device_register_full()

arch/arm/mach-imx/devices/platform-ipu-core.c | 43 +++++++++----------------
arch/arm/mach-imx/mach-mx31_3ds.c | 5 ++-
arch/arm/mach-imx/mach-mx31moboard.c | 6 ++--
arch/arm/mach-imx/mach-mx35_3ds.c | 5 ++-
arch/arm/mach-imx/mach-pcm037.c | 5 ++-
5 files changed, 23 insertions(+), 41 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/