[PATCH v1 4/7] serial: 8250_platform: Tidy up ACPI ID table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
---
 drivers/tty/serial/8250/8250_platform.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
 
-- 
2.43.0.rc1.1336.g36b5255a03ac





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux