ARM: davinci: dm644x evm: move pointer dereference below NULL check

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>
This commit is contained in:
Wei Yongjun 2012-09-10 04:49:23 +00:00 • committed by Sekhar Nori
commit 9ad90238bf