OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53fa1f4
)
staging: line6: midi: Use NULL instead of 0 for pointers
author
Sachin Kamat
<sachin.kamat@linaro.org>
Wed, 9 Oct 2013 10:28:26 +0000
(15:58 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:36:30 +0000
(15:36 -0700)
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>
drivers/staging/line6/midi.c
patch
|
blob
|
history
diff --git
a/drivers/staging/line6/midi.c
b/drivers/staging/line6/midi.c
index
e3f9a53
..
52da4d9
100644
(file)
--- 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 = {