]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
phy: phy-snps-eusb2: clean up id table sentinel
authorJohan Hovold <johan+linaro@kernel.org>
Fri, 23 May 2025 08:48:39 +0000 (10:48 +0200)
committerVinod Koul <vkoul@kernel.org>
Sun, 15 Jun 2025 16:32:41 +0000 (22:02 +0530)
Use a more common format for the id table sentinel for consistency and
symmetry.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250523084839.11015-8-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-snps-eusb2.c

index c67712bd8bba9bc95e5ec6ef66719a7ae97e6eaf..cf62f22213666e90963cc4cc89962fc8af43507a 100644 (file)
@@ -611,7 +611,9 @@ static const struct of_device_id snps_eusb2_hsphy_of_match_table[] = {
        }, {
                .compatible = "samsung,exynos2200-eusb2-phy",
                .data = &exynos2200_snps_eusb2_phy,
-       }, { },
+       }, {
+               /* sentinel */
+       }
 };
 MODULE_DEVICE_TABLE(of, snps_eusb2_hsphy_of_match_table);