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 /drivers/tty/serial/efm32-uart.c | |
parent | 643f7d95fe236d739aaba3b63f0627b20471d4da (diff) |
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 'drivers/tty/serial/efm32-uart.c')
0 files changed, 0 insertions, 0 deletions