diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-14 17:08:29 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-09 18:31:26 +0100 |
commit | 9e902c598b9253032dbc03f18a9af55fcd245a17 (patch) | |
tree | bba3424b9042a6a242c71b96a969c5c3b1b154b2 /drivers/uwb | |
parent | USB: host: whci: Re-use DEFINE_SHOW_ATTRIBUTE() macro (diff) | |
download | linux-9e902c598b9253032dbc03f18a9af55fcd245a17.tar.xz linux-9e902c598b9253032dbc03f18a9af55fcd245a17.zip |
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>
Diffstat (limited to 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions