ARM: davinci: dm644x evm: move pointer dereference below NULL check
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 10 Sep 2012 04:49:23 +0000 (04:49 +0000)
committerSekhar Nori <nsekhar@ti.com>
Sat, 27 Oct 2012 11:01:03 +0000 (16:31 +0530)
Pointer dereference should be moved below the NULL test.

spatch with a semantic match is used to found this.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

No differences found