Skip to contentSkip to conversation

USB: host: sl811: Re-use DEFINE_SHOW_ATTRIBUTE() macro

PATCH New Greg Kroah-Hartman 1 participant 1 message Mar 9, 2018 USB

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 11/14 USB: host: sl811: Re-use DEFINE_SHOW_ATTRIBUTE() macro

Quoted 7 lines · Andy Shevchenko

...instead of open coding file operations followed by custom ->open() callbacks per each attribute.

---
 drivers/usb/host/sl811-hcd.c | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

Please test-build your patches, this breaks the build :(

greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html