]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_port: Switch to use DEVICE_ATTR_RW()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Feb 2020 11:40:13 +0000 (13:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2020 10:38:58 +0000 (11:38 +0100)
commit6853d94e227ad75a10d0e21c4ae41355649968f1
treea8534336d905196f007a2e763b1f136d2f0a4d08
parent1bc76979708903c8a97ccb9662d87c93cbb292a6
serial: 8250_port: Switch to use DEVICE_ATTR_RW()

Move device attributes to DEVICE_ATTR_RW() 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-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c