staging: sm750fb: correct integer comparison
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 10 Mar 2015 17:16:57 +0000 (22:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 20:12:19 +0000 (21:12 +0100)
commit0fa96e39279988bde14cb6cf6cd0440185f2dae4
tree02c59bcb74ca0718bb91bf2fb139b88045a27c33
parent06a1bf813607ceb836d2b4b7c415a187253ea4ad
staging: sm750fb: correct integer comparison

fixed the build warning about comparison of pointer and integer.
end of string was being compared to NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c