soc: qcom: llcc-slice: Fix typos
This patch fixes typos in the llcc-slice driver.
Fixes: 72d1cd0331
("qcom: soc: llcc-slice: Clear the global drv_data pointer on error")
Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
ed10a259fa
commit
32616b2121
|
@ -149,7 +149,7 @@ int llcc_slice_activate(struct llcc_slice_desc *desc)
|
||||||
int ret;
|
int ret;
|
||||||
u32 act_ctrl_val;
|
u32 act_ctrl_val;
|
||||||
|
|
||||||
If (IS_ERR(drv_data))
|
if (IS_ERR(drv_data))
|
||||||
return PTR_ERR(drv_data);
|
return PTR_ERR(drv_data);
|
||||||
|
|
||||||
if (IS_ERR_OR_NULL(desc))
|
if (IS_ERR_OR_NULL(desc))
|
||||||
|
@ -189,7 +189,7 @@ int llcc_slice_deactivate(struct llcc_slice_desc *desc)
|
||||||
u32 act_ctrl_val;
|
u32 act_ctrl_val;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
If (IS_ERR(drv_data))
|
if (IS_ERR(drv_data))
|
||||||
return PTR_ERR(drv_data);
|
return PTR_ERR(drv_data);
|
||||||
|
|
||||||
if (IS_ERR_OR_NULL(desc))
|
if (IS_ERR_OR_NULL(desc))
|
||||||
|
|
Loading…
Reference in New Issue