usb: dwc3: debugfs: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 15 Feb 2018 11:03:38 +0000 (13:03 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 8 Mar 2018 13:12:00 +0000 (15:12 +0200)
commit6d5b53c1fd5c3d57c92667c8ff644557bcdb9656
tree3a3b850fe40a69a50fd836efc23d746e82c607b9
parent2247276989a16f84fc00930b407ab648b0b52cf6
usb: dwc3: debugfs: Re-use DEFINE_SHOW_ATTRIBUTE() macro

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

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/debugfs.c