USB: gadget: pxa25x: Re-use DEFINE_SHOW_ATTRIBUTE() macro
PATCH 6/14 USB: gadget: pxa25x: 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.
Cc Daniel Mack <[email protected]>Cc Haojian Zhuang <[email protected]>Cc Robert Jarzmik <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>
Acked-by Robert Jarzmik <[email protected]>
Cheers.
---
Robert
--
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