From: Andy Shevchenko Date: Fri, 18 Oct 2024 13:45:02 +0000 (+0300) Subject: gpio: xgene-sb: Tidy up ACPI and OF ID tables X-Git-Tag: v6.13-rc1~156^2~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ebbe789fe7a65205f77289d1ace46d52f1089a3;p=thirdparty%2Fkernel%2Flinux.git gpio: xgene-sb: Tidy up ACPI and OF ID tables Tidy up the ACPI and OF ID tables: - remove explicit driver_data initializer - drop comma in the terminator entry Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20241018134550.2071101-4-andriy.shevchenko@linux.intel.com Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 64184d4bd894c..206f03a7a7aa1 100644 --- a/drivers/gpio/gpio-xgene-sb.c +++ b/drivers/gpio/gpio-xgene-sb.c @@ -299,14 +299,14 @@ static void xgene_gpio_sb_remove(struct platform_device *pdev) } static const struct of_device_id xgene_gpio_sb_of_match[] = { - {.compatible = "apm,xgene-gpio-sb", }, - {}, + { .compatible = "apm,xgene-gpio-sb" }, + {} }; MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match); static const struct acpi_device_id xgene_gpio_sb_acpi_match[] = { - {"APMC0D15", 0}, - {}, + { "APMC0D15" }, + {} }; MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match);