]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/staging/speakup/main.c
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)
commit0d6ff6164977d3f205bc59b6df6fce0779b0c131
tree573585f741a85b964bf6de2640e9a04e275a075f
parentf239d3db3d59fccc1e73a1be517468e6b31b2512
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