From 32616b2121f75f40f66eefa04cc49052200c4181 Mon Sep 17 00:00:00 2001 From: Andy Gross Date: Fri, 15 Feb 2019 16:30:34 -0600 Subject: [PATCH] soc: qcom: llcc-slice: Fix typos 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 --- drivers/soc/qcom/llcc-slice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/llcc-slice.c b/drivers/soc/qcom/llcc-slice.c index 83a263926a25..9090ea12eaf3 100644 --- a/drivers/soc/qcom/llcc-slice.c +++ b/drivers/soc/qcom/llcc-slice.c @@ -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))