Skip to content

Commit 1b4ef46

Browse files
jhovolddlezcano
authored andcommitted
thermal/drivers/qcom-spmi-temp-alarm: Drop unused driver data
The platform device driver data has not been used since commit 7a4ca51 ("thermal/drivers/qcom-spmi: Use devm_iio_channel_get") so drop the unnecessary assignment. Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent bccdbba commit 1b4ef46

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/thermal/qcom/qcom-spmi-temp-alarm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ static int qpnp_tm_probe(struct platform_device *pdev)
360360
if (!chip)
361361
return -ENOMEM;
362362

363-
dev_set_drvdata(&pdev->dev, chip);
364363
chip->dev = &pdev->dev;
365364

366365
mutex_init(&chip->lock);

0 commit comments

Comments
 (0)