USB: host: whci: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Feb 2018 16:08:28 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 17:31:26 +0000 (09:31 -0800)
commite23500dd34f2094e48dc6b53971b94dad5e8cfbf
tree45fb90e695df29741c43c792b8f55b047397fdb0
parent0a9e8adea7946ef5fcb9f433dad0df7b512111d9
USB: host: whci: Re-use DEFINE_SHOW_ATTRIBUTE() macro

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/whci/debug.c