]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
soc: qcom: llcc-slice: Fix typos
authorAndy Gross <andy.gross@linaro.org>
Fri, 15 Feb 2019 22:30:34 +0000 (16:30 -0600)
committerAndy Gross <andy.gross@linaro.org>
Fri, 15 Feb 2019 22:30:34 +0000 (16:30 -0600)
This patch fixes typos in the llcc-slice driver.

Fixes: 72d1cd033154 ("qcom: soc: llcc-slice: Clear the global drv_data pointer on error")
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/llcc-slice.c

index 83a263926a2524275d22638d2494888b74c5c5ae..9090ea12eaf3dda4cd54b631e8527f11d0a60440 100644 (file)
@@ -149,7 +149,7 @@ int llcc_slice_activate(struct llcc_slice_desc *desc)
        int ret;
        u32 act_ctrl_val;
 
-       If (IS_ERR(drv_data))
+       if (IS_ERR(drv_data))
                return PTR_ERR(drv_data);
 
        if (IS_ERR_OR_NULL(desc))
@@ -189,7 +189,7 @@ int llcc_slice_deactivate(struct llcc_slice_desc *desc)
        u32 act_ctrl_val;
        int ret;
 
-       If (IS_ERR(drv_data))
+       if (IS_ERR(drv_data))
                return PTR_ERR(drv_data);
 
        if (IS_ERR_OR_NULL(desc))