summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 06:06:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-01 03:48:40 +0200
commit95f5632d87ff86046367eb86e2ffbf74d7d103bf (patch)
tree52cfbe981a469bbd733c9907fdb4f257c8cec7e2
parentstaging: cxt1e1: linux.c: Use NULL instead of 0 (diff)
downloadlinux-95f5632d87ff86046367eb86e2ffbf74d7d103bf.tar.xz
linux-95f5632d87ff86046367eb86e2ffbf74d7d103bf.zip
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 9361dd8ce125..353c001d3fbe 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)
{