commit | b5c293982cb948104827566652023e3c9d971a0b | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Feb 14 18:08:20 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 09 09:31:25 2018 -0800 |
tree | 76689bb482bf5e67efe6afa8e43935396ae79488 | |
parent | efb85c4d24b4a551ce9bab5b4d2d6c54c9882d90 [diff] |
USB: gadget: bcm63xx: Re-use DEFINE_SHOW_ATTRIBUTE() macro ...instead of open coding file operations followed by custom ->open() callbacks per each attribute. Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: bcm-kernel-feedback-list@broadcom.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>