diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-08-12 18:47:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-14 09:22:50 +0300 |
commit | 32e0a658752d9822f7b37299696c624cff6979d6 (patch) | |
tree | bf0278200a381b1e1ea2200335d1877cdbb1c842 /drivers/tty/serial | |
parent | 9136b3766635a08623f3627038533f4c093f7fa1 (diff) | |
download | linux-32e0a658752d9822f7b37299696c624cff6979d6.tar.xz |
serial: 8250_platform: Tidy up ACPI ID table
Tidy up ACPI ID table:
- remove explicit driver_data initializer
- drop comma in the terminator entry
- use C comment style
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240812154901.1068407-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/8250/8250_platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/8250/8250_platform.c b/drivers/tty/serial/8250/8250_platform.c index ec9b96fdcc41..526953442f47 100644 --- a/drivers/tty/serial/8250/8250_platform.c +++ b/drivers/tty/serial/8250/8250_platform.c @@ -262,8 +262,8 @@ static int serial8250_resume(struct platform_device *dev) } static const struct acpi_device_id acpi_platform_serial_table[] = { - { "RSCV0003", 0 }, // RISC-V Generic 16550A UART - { }, + { "RSCV0003" }, /* RISC-V Generic 16550A UART */ + { } }; MODULE_DEVICE_TABLE(acpi, acpi_platform_serial_table); |