RE: [PATCH] usb: renesas_usbhs: constify usbhs_pkt_handle structures

2016-01-06 Thread Yoshihiro Shimoda
Hi Julia, > From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Julia Lawall > Sent: Monday, December 28, 2015 5:50 AM > > The usbhs_pkt_handle structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > >

[PATCH] usb: renesas_usbhs: constify usbhs_pkt_handle structures

2015-12-27 Thread Julia Lawall
The usbhs_pkt_handle structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/usb/renesas_usbhs/fifo.c | 20 ++-- drivers/usb/renesas_usbhs/fifo.h | 20 ++--