diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-09-21 14:30:50 +0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-08 15:43:57 -0700 |
commit | 64de3a00a16bcdf940cbebb1b2dc05d7cc13fef5 (patch) | |
tree | 5d90dbfc3b0b45dcd2db39066b1c63d55f71128b /arch/arm/plat-iop | |
parent | 9ee677231bbc6a9e6ec9057d33d81eb248742b0a (diff) |
ARM: OMAP: hsmmc: fix return value check in omap_hsmmc_init_one()
In case of error, the function omap_device_alloc() returns ERR_PTR()
not NULL pointer. The NULL test in the return value check should
be replaced with IS_ERR().
dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-iop')
0 files changed, 0 insertions, 0 deletions