summaryrefslogtreecommitdiff
path: root/drivers/ata/ahci_st.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2022-03-03 11:36:35 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-03-07 05:49:10 +0300
commit5e776d7b20f040f3219128cee17a1191d66a0f3f (patch)
treed83846e1ed11a0c7b77583b9a6b1723bc55424ec /drivers/ata/ahci_st.c
parent4dd4d3deb5026ee7356e23ce2607637ff313bb80 (diff)
downloadlinux-5e776d7b20f040f3219128cee17a1191d66a0f3f.tar.xz
ata: Drop commas after OF match table sentinels
It does not make sense to have a comma after a sentinel, as any new elements must be added before the sentinel. Add comments to clarify the purpose of the empty elements. Rewrap entries to a single line to have a consistent style. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Acked-by: Florian Fainelli <f.fainelli@gmail.com> [ahci_brcm] Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/ahci_st.c')
-rw-r--r--drivers/ata/ahci_st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c
index c268264c2129..7526653c843b 100644
--- a/drivers/ata/ahci_st.c
+++ b/drivers/ata/ahci_st.c
@@ -232,7 +232,7 @@ static SIMPLE_DEV_PM_OPS(st_ahci_pm_ops, st_ahci_suspend, st_ahci_resume);
static const struct of_device_id st_ahci_match[] = {
{ .compatible = "st,ahci", },
- {},
+ { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, st_ahci_match);