staging: cxt1e1: sbeproc.c: Use NULL instead of 0
Pointers should be assigned NULL instead of 0. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
86a3cdaf12
commit
95f5632d87
@ -44,7 +44,7 @@ void sbecom_proc_brd_cleanup(ci_t *ci)
|
|||||||
static void sbecom_proc_get_brdinfo(ci_t *ci, struct sbe_brd_info *bip)
|
static void sbecom_proc_get_brdinfo(ci_t *ci, struct sbe_brd_info *bip)
|
||||||
{
|
{
|
||||||
hdw_info_t *hi = &hdw_info[ci->brdno];
|
hdw_info_t *hi = &hdw_info[ci->brdno];
|
||||||
u_int8_t *bsn = 0;
|
u_int8_t *bsn = NULL;
|
||||||
|
|
||||||
switch (hi->promfmt)
|
switch (hi->promfmt)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user