diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-08 15:57:41 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-08 15:57:41 -0700 |
commit | fce680e9faaa8acc0ab0a931c5fa823b581cbab0 (patch) | |
tree | c96026ec637128c21c665a733db5594ebebbb5a4 /arch/arm/plat-omap/omap_device.c | |
parent | 5e090ed7af10729a396a25df43d69a236e789736 (diff) | |
parent | ce3810cdb4ca31238c87e095d2c494a5eaa4f65d (diff) | |
download | kernel_goldelico_gta04-fce680e9faaa8acc0ab0a931c5fa823b581cbab0.zip kernel_goldelico_gta04-fce680e9faaa8acc0ab0a931c5fa823b581cbab0.tar.gz kernel_goldelico_gta04-fce680e9faaa8acc0ab0a931c5fa823b581cbab0.tar.bz2 |
Merge tag 'for_3.7-fixes-pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-v3.7-rc1/fixes-pm
OMAP PM related fixes for v3.7-rc
Diffstat (limited to 'arch/arm/plat-omap/omap_device.c')
-rw-r--r-- | arch/arm/plat-omap/omap_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index cee85a5..7a7d1f2 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/plat-omap/omap_device.c @@ -725,7 +725,7 @@ struct platform_device __init *omap_device_build_ss(const char *pdev_name, int p dev_set_name(&pdev->dev, "%s", pdev->name); od = omap_device_alloc(pdev, ohs, oh_cnt, pm_lats, pm_lats_cnt); - if (!od) + if (IS_ERR(od)) goto odbs_exit1; ret = platform_device_add_data(pdev, pdata, pdata_len); |