Message ID | 20240812154901.1068407-5-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | serial: 8250_platform: refactor and clean up a bit | expand |
diff --git a/drivers/tty/serial/8250/8250_platform.c b/drivers/tty/serial/8250/8250_platform.c index 937eea3ebdea..38c083e90a7d 100644 --- a/drivers/tty/serial/8250/8250_platform.c +++ b/drivers/tty/serial/8250/8250_platform.c @@ -261,8 +261,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);
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> --- drivers/tty/serial/8250/8250_platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)