diff options
author | Andy Gross <andy.gross@linaro.org> | 2019-02-15 23:30:34 +0100 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2019-02-15 23:30:34 +0100 |
commit | 32616b2121f75f40f66eefa04cc49052200c4181 (patch) | |
tree | be9b2177d6caf3f8a00cb5dcf902cc6d6e0435c5 /drivers/soc | |
parent | qcom: soc: llcc-slice: Consolidate some code (diff) | |
download | linux-32616b2121f75f40f66eefa04cc49052200c4181.tar.xz 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.c | 4 |
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)) |