summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2024-06-08 18:55:21 +0300
committerLee Jones <lee@kernel.org>2024-06-13 20:42:21 +0300
commit40ac32d19985836348313b7087c8f37232084c54 (patch)
tree9d6bb6654c7f62b76ae14ca0c50a796ccf9f6642 /drivers/mfd
parent3162cd961eba14fbb377d4f13c853c586cd5d063 (diff)
downloadlinux-40ac32d19985836348313b7087c8f37232084c54.tar.xz
mfd: pm8008: Drop unused driver data
The i2c client driver data pointer has never been used so drop the unnecessary assignment. Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20240608155526.12996-8-johan+linaro@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/qcom-pm8008.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c
index bab17417aeec..72199840231e 100644
--- a/drivers/mfd/qcom-pm8008.c
+++ b/drivers/mfd/qcom-pm8008.c
@@ -167,8 +167,6 @@ static int pm8008_probe(struct i2c_client *client)
if (IS_ERR(regmap))
return PTR_ERR(regmap);
- i2c_set_clientdata(client, regmap);
-
reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
if (IS_ERR(reset))
return PTR_ERR(reset);