USB: cdc-acm: use negation for NULL checks
authorJohan Hovold <johan@kernel.org>
Mon, 22 Mar 2021 15:53:16 +0000 (16:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 12:27:13 +0000 (13:27 +0100)
commitf8255ee192e92fdb885a9ff6bc90d74f5bfb7cd6
tree61cc59f88a681289a68c1bbbbf6da7c32e5c3f17
parent4cde059acd11e79b205525e5fd66175d8576ec88
USB: cdc-acm: use negation for NULL checks

Use negation consistently throughout the driver for NULL checks.

Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210322155318.9837-7-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c