]> git.baikalelectronics.ru Git - kernel.git/commit
staging: speakup: Remove the explicit NULL comparison
authorArushi Singhal <arushisinghal19971997@gmail.com>
Fri, 24 Mar 2017 11:29:59 +0000 (16:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Mar 2017 12:00:41 +0000 (14:00 +0200)
commitab1438c5a6b3c2af25165296e54b10aeb84ef7e8
tree573585f741a85b964bf6de2640e9a04e275a075f
parent21ca9475e7ba3f53a2ed94496b9ff948ef98c425
staging: speakup: Remove the explicit NULL comparison

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/fakekey.c
drivers/staging/speakup/main.c