]> git.baikalelectronics.ru Git - kernel.git/commit
staging: speakup: Simplify "NULL" comparisons
authorArushi Singhal <arushisinghal19971997@gmail.com>
Tue, 21 Mar 2017 11:42:27 +0000 (17:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:20:41 +0000 (14:20 +0100)
commit7b1121619ee72bf6129630198eb93d20daf35219
treee9cafbdcadb570ed25951d4a00df8e7a5e95e0cd
parent800ccea5832a0bd9fa9735819f8b96a30e18a0e2
staging: speakup: Simplify "NULL" comparisons

Fixed coding style for null comparisons in speakup driver to be more
consistant with the rest of the kernel coding style.
Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/selection.c
drivers/staging/speakup/varhandlers.c