summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/devices.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-02-27 16:23:15 +0000
committerArnd Bergmann <arnd@arndb.de>2012-02-27 16:23:21 +0000
commita173fc693b25216c5c834978f4fafd731fd4ff94 (patch)
treef75c2fa106217cc3afd1bde6803ca77fe953bbcf /arch/arm/mach-omap2/devices.c
parentd052e161c4067cf21daacb1de960a1e449babfe4 (diff)
parent759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34 (diff)
downloadtalos-op-linux-a173fc693b25216c5c834978f4fafd731fd4ff94.tar.gz
talos-op-linux-a173fc693b25216c5c834978f4fafd731fd4ff94.zip
Merge branch 'kirkwood/board' into next/boards
* kirkwood/board: (2 commits) ARM: kirkwood: convert uart0 to devicetree. ARM: kirkwood: add dreamplug (fdt) support. Series sent by email from Jason Cooper <jason@lakedaemon.net> Update to Linux 3.3-rc3 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r--arch/arm/mach-omap2/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 0b510ad01a00..283d11eae693 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -405,6 +405,7 @@ static int omap_mcspi_init(struct omap_hwmod *oh, void *unused)
break;
default:
pr_err("Invalid McSPI Revision value\n");
+ kfree(pdata);
return -EINVAL;
}
OpenPOWER on IntegriCloud