diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-02-17 13:40:11 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-17 17:01:54 +0100 |
| commit | 143c02c88d6d3fd725257c3941bf37ee78258741 (patch) | |
| tree | 281afd99eeec354b4445487bdbde8326ef453045 /tools/perf/scripts/python | |
| parent | serial: core: use octal permissions on module param (diff) | |
| download | linux-143c02c88d6d3fd725257c3941bf37ee78258741.tar.gz linux-143c02c88d6d3fd725257c3941bf37ee78258741.zip | |
serial: core: Switch to use DEVICE_ATTR_RO()
Move device attributes to DEVICE_ATTR_RO() as that would make things
a lot more "obvious" what is happening here.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200217114016.49856-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
