thermal/drivers/qcom-spmi-temp-alarm: drop unused driver data
Subsystems (3)
PATCH 1/1 thermal/drivers/qcom-spmi-temp-alarm: drop unused driver data
The platform device driver data has not been used since commit 7a4ca51b7040 ("thermal/drivers/qcom-spmi: Use devm_iio_channel_get") so drop the unnecessary assignment.
---
I noticed this when doing some rework for pm8008 last year that I have yet to finish.
This can go in meanwhile.
Johan
drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 1 - 1 file changed, 1 deletion(-)
drivers/thermal/qcom/qcom-spmi-temp-alarm.c +0 -1
@@ -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);
Signature · 1 line
2.45.3
Quoted 23 lines · Johan Hovold
The platform device driver data has not been used since commit
7a4ca51b7040("thermal/drivers/qcom-spmi: Usedevm_iio_channel_get") so drop the unnecessary assignment.Signed-off-by Johan Hovold <[email protected]>---
I noticed this when doing some rework for pm8008 last year that I have yet to finish.
This can go in meanwhile.
Johan
drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 1 - 1 file changed, 1 deletion(-)drivers/thermal/qcom/qcom-spmi-temp-alarm.c +0
-0
drivers/thermal/qcom/qcom-spmi-temp-alarm.c static int qpnp_tm_probe(struct platform_device *pdev) · line 365
Quoted 7 lines
drivers/thermal/qcom/qcom-spmi-temp-alarm.c +0
-1@@ -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);
Quoted 5 lines · Johan Hovold
The platform device driver data has not been used since commit
7a4ca51b7040("thermal/drivers/qcom-spmi: Usedevm_iio_channel_get") so drop the unnecessary assignment.Signed-off-by Johan Hovold <[email protected]>
Quoted 10 lines
---
I noticed this when doing some rework for pm8008 last year that I have yet to finish.
This can go in meanwhile.
Johan
Signature · 2 lines
With best wishes Dmitry
Daniel Lezcano
AppliedQuoted 9 lines · Johan Hovold
The platform device driver data has not been used since commit
7a4ca51b7040("thermal/drivers/qcom-spmi: Usedevm_iio_channel_get") so drop the unnecessary assignment.Signed-off-by Johan Hovold <[email protected]>---
I noticed this when doing some rework for pm8008 last year that I have yet to finish.
Applied, thanks
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog