+ .name = "hisi-lpc-ipmi",...here and in the other cases you have a lot of blank lines, can we
+ .id = PLATFORM_DEVID_AUTO,
+
+ .res = res,
+ .num_res = num_res,
+ },
just get rid of them?
+ },I believe this can be one line.
},
/* 8250-compatible uart */
{
.hid = "HISI1031",
- .name = "serial8250",
- .pdata = (struct plat_serial8250_port []) {
+ .pdevinfo = (struct platform_device_info []) {
{
- .iobase = res->start,
- .uartclk = 1843200,
- .iotype = UPIO_PORT,
- .flags = UPF_BOOT_AUTOCONF,
+ .parent = hostdev,
+ .fwnode = acpi_fwnode_handle(child),
+
+ .name = "serial8250",
+ .id = PLATFORM_DEVID_AUTO,
+
+ .res = res,
+ .num_res = num_res,
+
+ .data = (struct plat_serial8250_port []) {
+ {
+ .iobase = res->start,
+ .uartclk = 1843200,
+ .iotype = UPIO_PORT,
+ .flags = UPF_BOOT_AUTOCONF,
+ },
+ {}
+ },
+ .size_data = 2 *
+ sizeof(struct plat_serial8250_port),
},