Эх сурвалжийг харах

staging: line6: midi: Use NULL instead of 0 for pointers

Use NULL instead of 0 for pointers.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sachin Kamat 12 жил өмнө
parent
commit
a0d6f2b1da

+ 1 - 1
drivers/staging/line6/midi.c

@@ -205,7 +205,7 @@ static void line6_midi_input_trigger(struct snd_rawmidi_substream *substream,
 	if (up)
 	if (up)
 		line6->line6midi->substream_receive = substream;
 		line6->line6midi->substream_receive = substream;
 	else
 	else
-		line6->line6midi->substream_receive = 0;
+		line6->line6midi->substream_receive = NULL;
 }
 }
 
 
 static struct snd_rawmidi_ops line6_midi_output_ops = {
 static struct snd_rawmidi_ops line6_midi_output_ops = {