dmaengine: fsl-dpaa2-qdma: Drop comma after SoC match table sentinel
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 3 Mar 2022 12:47:15 +0000 (13:47 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Mar 2022 10:17:39 +0000 (15:47 +0530)
It does not make sense to have a comma after a sentinel, as any new
elements must be added before the sentinel.

Add a comment to clarify the purpose of the empty element.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/0b8ad4dcc185aa7a17655983e0eb5690d8fed460.1646311558.git.geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.h

index 7d57184..03e2f4e 100644 (file)
@@ -139,7 +139,7 @@ struct dpaa2_qdma_priv_per_prio {
 
 static struct soc_device_attribute soc_fixup_tuning[] = {
        { .family = "QorIQ LX2160A"},
-       { },
+       { /* sentinel */ }
 };
 
 /* FD pool size: one FD + 3 Frame list + 2 source/destination descriptor */