summaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorAndy Gross <andy.gross@linaro.org>2019-02-15 16:30:34 -0600
committerAndy Gross <andy.gross@linaro.org>2019-02-15 16:30:34 -0600
commit32616b2121f75f40f66eefa04cc49052200c4181 (patch)
treebe9b2177d6caf3f8a00cb5dcf902cc6d6e0435c5 /drivers/soc
parented10a259faa1bbdf77b8c2153b274b70c90cbb35 (diff)
downloadlinux-32616b2121f75f40f66eefa04cc49052200c4181.tar.gz
linux-32616b2121f75f40f66eefa04cc49052200c4181.tar.bz2
linux-32616b2121f75f40f66eefa04cc49052200c4181.zip
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 <andy.gross@linaro.org>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/qcom/llcc-slice.c4
1 files 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))