]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: chipidea: Re-use DEFINE_SHOW_ATTRIBUTE() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Feb 2018 16:08:17 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 17:27:55 +0000 (09:27 -0800)
commite8c56f274da4d2ac8ba55e482f41b73148d5f885
treecb81232637636d3f6fe26f6b30d41660d7ef66cd
parent02cad961cae556357e4a63b11f849e80418c1ffc
USB: chipidea: Re-use DEFINE_SHOW_ATTRIBUTE() macro

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

Cc: Peter Chen <Peter.Chen@nxp.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/debug.c