summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 04:06:32 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-01 01:48:40 (GMT)
commit95f5632d87ff86046367eb86e2ffbf74d7d103bf (patch)
tree52cfbe981a469bbd733c9907fdb4f257c8cec7e2
parent86a3cdaf12d940b091568d6ff7c5203ad12da061 (diff)
downloadlinux-fsl-qoriq-95f5632d87ff86046367eb86e2ffbf74d7d103bf.tar.xz
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>
-rw-r--r--drivers/staging/cxt1e1/sbeproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/cxt1e1/sbeproc.c b/drivers/staging/cxt1e1/sbeproc.c
index 9361dd8..353c001 100644
--- a/drivers/staging/cxt1e1/sbeproc.c
+++ b/drivers/staging/cxt1e1/sbeproc.c
@@ -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)
{
hdw_info_t *hi = &hdw_info[ci->brdno];
- u_int8_t *bsn = 0;
+ u_int8_t *bsn = NULL;
switch (hi->promfmt)
{