OSDN Git Service

staging: sm750fb: Replace NULL comparison.
authorVarsha Rao <rvarsha016@gmail.com>
Mon, 27 Feb 2017 10:12:55 +0000 (15:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:06 +0000 (09:17 +0100)
commita4ce938653a763cb9a76b4913055fb8b76b0c645
tree89a9fc0ae769cf37cd0eba91270c9ca190864547
parentdca633d49c0362e9c8ac6beff151176dfd982d08
staging: sm750fb: Replace NULL comparison.

Replaced NULL comparison with pCurrentDviCtrl->pfnInit. This patch fixes
the following checkpatch issue:

CHECK: Comparison to NULL could be written "pCurrentDviCtrl->pfnInit"

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_dvi.c