staging: silicom: fix a comparing proc_dir_entry pointer against 0
authorDevendra Naga <devendra.aaru@gmail.com>
Sun, 16 Sep 2012 16:01:59 +0000 (12:01 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 12:31:33 +0000 (05:31 -0700)
commit0c4a9f6e0ac55db62816bfa5e584ed807540a5ee
treed3114fc909500485328a802cc5f41efcbb951056
parentad139634c50999ab4007a2d83afe96cc500b0afd
staging: silicom: fix a comparing proc_dir_entry pointer against 0

we should be using the NULL macro, not 0 to compare against
a pointer value, and also remove braces around the single
if conditional after the create_proc_entry

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bp_mod.c