cfi: tighten up type usage a bit
commitef92da3315b13ab8ee3b509f2b05c15194140b92
authorØyvind Harboe <oyvind.harboe@zylin.com>
Fri, 10 Sep 2010 08:20:06 +0000 (10 10:20 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sat, 11 Sep 2010 08:37:32 +0000 (11 10:37 +0200)
treeb9d05e503541e5347faae516b86faa893814147c
parente1c6f6783d68f0dcc766b3e6317348e3838a3856
cfi: tighten up type usage a bit

sizeof() is a bit less scary than seing assumption
about size of type, no bug as such.

Use NULL instead of 0 for pointers. More obvious that
it is a pointer from code inspection.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/cfi.c