mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
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 <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20241018134550.2071101-4-andriy.shevchenko@linux.intel.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
33319f6d34
commit
6ebbe789fe
@ -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[] = {
|
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);
|
MODULE_DEVICE_TABLE(of, xgene_gpio_sb_of_match);
|
||||||
|
|
||||||
static const struct acpi_device_id xgene_gpio_sb_acpi_match[] = {
|
static const struct acpi_device_id xgene_gpio_sb_acpi_match[] = {
|
||||||
{"APMC0D15", 0},
|
{ "APMC0D15" },
|
||||||
{},
|
{}
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match);
|
MODULE_DEVICE_TABLE(acpi, xgene_gpio_sb_acpi_match);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user