Re: [PATCH] ALSA: usb-audio: constify usb_protocol_ops structures

2015-12-11 Thread Takashi Iwai
On Fri, 11 Dec 2015 15:52:37 +0100, Julia Lawall wrote: > > The usb_protocol_ops structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied with Clemens' ack. Thanks. Takashi > > --- > sound/usb/midi.c | 25

Re: [PATCH] ALSA: usb-audio: constify usb_protocol_ops structures

2015-12-11 Thread Clemens Ladisch
Julia Lawall wrote: > The usb_protocol_ops structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Clemens Ladisch > --- > sound/usb/midi.c | 25 + > 1 file changed, 13 insertions(+),

Re: [PATCH] ALSA: usb-audio: constify usb_protocol_ops structures

2015-12-11 Thread Clemens Ladisch
Julia Lawall wrote: > The usb_protocol_ops structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Clemens Ladisch > --- > sound/usb/midi.c | 25

Re: [PATCH] ALSA: usb-audio: constify usb_protocol_ops structures

2015-12-11 Thread Takashi Iwai
On Fri, 11 Dec 2015 15:52:37 +0100, Julia Lawall wrote: > > The usb_protocol_ops structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied with Clemens' ack. Thanks. Takashi > > --- >