aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-09-21 02:30:50 -0400
committerTony Lindgren <tony@atomide.com>2012-10-08 18:43:57 -0400
commit64de3a00a16bcdf940cbebb1b2dc05d7cc13fef5 (patch)
tree5d90dbfc3b0b45dcd2db39066b1c63d55f71128b /arch/arm/mach-omap2/timer.c
parent9ee677231bbc6a9e6ec9057d33d81eb248742b0a (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/mach-omap2/timer.c')
0 files changed, 0 insertions, 0 deletions