USB: host: sl811: Re-use DEFINE_SHOW_ATTRIBUTE() macro
Greg Kroah-Hartman
maintainerPATCH 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.
Signed-off-by Andy Shevchenko <[email protected]>--- 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