ALSA: mpu401: Adjust four checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 12 Aug 2017 18:50:16 +0000 (20:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Aug 2017 21:35:48 +0000 (23:35 +0200)
commitf1a77dc17103e53e43f33beab67a287feafa6aa3
treec790532224128c5cb9a53f71fb1c34c83bc13784
parentec1f43c83b9df3052209e0c7e7d936e15251c867
ALSA: mpu401: Adjust four checks for null pointers

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written !…

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/mpu401/mpu401_uart.c