Skip to content

Commit 32e0a65

Browse files
andy-shevgregkh
authored andcommitted
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>
1 parent 9136b37 commit 32e0a65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/tty/serial/8250/8250_platform.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ static int serial8250_resume(struct platform_device *dev)
262262
}
263263

264264
static const struct acpi_device_id acpi_platform_serial_table[] = {
265-
{ "RSCV0003", 0 }, // RISC-V Generic 16550A UART
266-
{ },
265+
{ "RSCV0003" }, /* RISC-V Generic 16550A UART */
266+
{ }
267267
};
268268
MODULE_DEVICE_TABLE(acpi, acpi_platform_serial_table);
269269

0 commit comments

Comments
 (0)