]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm: pl111: fix inconsistent indenting warning
authorCharles Han <hanchunchao@inspur.com>
Wed, 5 Mar 2025 10:25:40 +0000 (18:25 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Mar 2025 09:25:10 +0000 (10:25 +0100)
Fix below inconsistent indenting smatch warning.
smatch warnings:
drivers/gpu/drm/pl111/pl111_versatile.c:504 pl111_versatile_init() warn: inconsistent indenting

Signed-off-by: Charles Han <hanchunchao@inspur.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250305102540.2815-1-hanchunchao@inspur.com
drivers/gpu/drm/pl111/pl111_versatile.c

index 1e4b28d03f4d2df6c7bed0e365e1c9d1cb410687..5f460b296c0ca1b57c2655aaf4a9cce2ddefdcc4 100644 (file)
@@ -501,7 +501,7 @@ int pl111_versatile_init(struct device *dev, struct pl111_drm_dev_private *priv)
         * if we find it, it will take precedence. This is on the Integrator/AP
         * which only has this option for PL110 graphics.
         */
-        if (versatile_clcd_type == INTEGRATOR_CLCD_CM) {
+       if (versatile_clcd_type == INTEGRATOR_CLCD_CM) {
                np = of_find_matching_node_and_match(NULL, impd1_clcd_of_match,
                                                     &clcd_id);
                if (np)