summaryrefslogtreecommitdiff
path: root/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/qcom/qcom-spmi-temp-alarm.c')
-rw-r--r--drivers/thermal/qcom/qcom-spmi-temp-alarm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/qcom/qcom-spmi-temp-alarm.c b/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
index c2d59cbfaea9..a81e7d6e865f 100644
--- a/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
+++ b/drivers/thermal/qcom/qcom-spmi-temp-alarm.c
@@ -360,7 +360,6 @@ static int qpnp_tm_probe(struct platform_device *pdev)
if (!chip)
return -ENOMEM;
- dev_set_drvdata(&pdev->dev, chip);
chip->dev = &pdev->dev;
mutex_init(&chip->lock);