Hi, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes: > Instead of "open coding" a DEVICE_ATTR() define, use the > DEVICE_ATTR_RO() macro instead, which does everything properly instead. > > This does require a few static functions to be renamed to work properly, > but thanks to a script from Joe Perches, this was easily done. > > Reported-by: Joe Perches <joe@xxxxxxxxxxx> > Cc: Matthieu CASTET <castet.matthieu@xxxxxxx> > Cc: Stanislaw Gruszka <stf_xl@xxxxx> > Cc: Oliver Neukum <oneukum@xxxxxxxx> > Cc: Pete Zaitcev <zaitcev@xxxxxxxxxx> > Cc: Felipe Balbi <balbi@xxxxxxxxxx> > Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> For drivers/usb/phy: Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> -- balbi
Attachment:
signature.asc
Description: PGP signature