diff options
author | 2013-10-09 15:58:26 +0530 | |
---|---|---|
committer | 2013-10-11 15:36:30 -0700 | |
commit | a0d6f2b1dab93d6a16d4d19b7d4b07498c5e04f0 (patch) | |
tree | fd2db04f1a80107d7cf9961007de80adb41092db | |
parent | staging: dgap: dgap_tty: Do not use 0 for pointers (diff) | |
download | linux-dev-a0d6f2b1dab93d6a16d4d19b7d4b07498c5e04f0.tar.xz linux-dev-a0d6f2b1dab93d6a16d4d19b7d4b07498c5e04f0.zip |
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>
-rw-r--r-- | drivers/staging/line6/midi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/line6/midi.c b/drivers/staging/line6/midi.c index e3f9a53dbd96..52da4d9d2164 100644 --- a/drivers/staging/line6/midi.c +++ b/drivers/staging/line6/midi.c @@ -205,7 +205,7 @@ static void line6_midi_input_trigger(struct snd_rawmidi_substream *substream, if (up) line6->line6midi->substream_receive = substream; else - line6->line6midi->substream_receive = 0; + line6->line6midi->substream_receive = NULL; } static struct snd_rawmidi_ops line6_midi_output_ops = { |