staging: android: replace explicit NULL comparison
authorIoana Ciornei <ciorneiioana@gmail.com>
Sun, 1 Nov 2015 14:38:20 +0000 (16:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit375fb53ec1be6df6cfd0ac4932f14f0b7f57a761
tree61897c5b7b375477b55bef7a8aa15cfe0d441a03
parent8d831d451fd0654c8d20a91c4edec1ee57a93945
staging: android: replace explicit NULL comparison

This patch replaces explicit NULL comparison with !
operator in order to simplify the code

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/compat_ion.c
drivers/staging/android/sync.c