usb: common: ulpi: Constify static attribute_group struct
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 25 Nov 2020 16:25:00 +0000 (17:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Nov 2020 12:40:43 +0000 (13:40 +0100)
commit52170e937866b3bac1572ed48a97d370f42e52fa
treec902f6794c2edd032507c08b986342033163656b
parent690756a367649a19c5622d135e00799930e7996c
usb: common: ulpi: Constify static attribute_group struct

It is never modified, so make them const to allow the compiler to
put it in read-only memory. Done with the help of coccinelle.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20201125162500.37228-4-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/common/ulpi.c