commit | 9e902c598b9253032dbc03f18a9af55fcd245a17 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Feb 14 18:08:29 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 09 09:31:26 2018 -0800 |
tree | bba3424b9042a6a242c71b96a969c5c3b1b154b2 | |
parent | e23500dd34f2094e48dc6b53971b94dad5e8cfbf [diff] |
USB: typec: 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> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>