Skip to content

Commit 6ebbe78

Browse files
andy-shevBartosz Golaszewski
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 33319f6 commit 6ebbe78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/gpio/gpio-xgene-sb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,14 @@ static void xgene_gpio_sb_remove(struct platform_device *pdev)
299299
}
300300

301301
static const struct of_device_id xgene_gpio_sb_of_match[] = {
302-
{.compatible = "apm,xgene-gpio-sb", },
303-
{},
302+
{ .compatible = "apm,xgene-gpio-sb" },
303+
{}
304304
};
305305
MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match);
306306

307307
static const struct acpi_device_id xgene_gpio_sb_acpi_match[] = {
308-
{"APMC0D15", 0},
309-
{},
308+
{ "APMC0D15" },
309+
{}
310310
};
311311
MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match);
312312

0 commit comments

Comments
 (0)