OSDN Git Service

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)
commitb8f107bc90a7e901e68a5335879dafb7c5645819
treee9cafbdcadb570ed25951d4a00df8e7a5e95e0cd
parent049aa51558fbfe79606efe961ae452a63ea6df08
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