]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Staging: ion: fix code style warning from NULL comparisons
authorQuytelda Kahja <quytelda@tamalin.org>
Tue, 27 Jun 2017 21:35:46 +0000 (14:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 14:38:53 +0000 (16:38 +0200)
commit878c33a78811f90795f17333bc3a7c819a1589a7
treeec1e80db08626bf95801d6127c01a85f9be798a0
parentbd18c0c9c8ed77ad73301752d04cbdc3f0af3b77
Staging: ion: fix code style warning from NULL comparisons

This patch replaces several instances where a pointer is compared to NULL
(i.e., `ptr == NULL`) with `!ptr`, which is preferred.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c