]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: host: imx21: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Feb 2018 16:08:25 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 17:31:26 +0000 (09:31 -0800)
commit64cfe860678f0d541468872d106bc26edfe33ff8
treee18bf78f23da94bba10f78d5b512824e3163777d
parent513f6750c433c49856490e341a9610d502607393
USB: host: imx21: 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/imx21-dbg.c