diff options
author | Andrey Smirnov <[email protected]> | 2019-12-10 08:41:48 -0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-01-27 10:24:32 +0100 |
commit | 01dc58420a2a506848d26cb80f062e6ae84db458 (patch) | |
tree | b959ce1aee543dc0b8b082df0d5c7af8ca1b10ad | |
parent | 8e1cda35c3be8ed35cafa50c2b5f719032dd7224 (diff) |
thermal: qoriq: Drop unnecessary drvdata cleanup
Driver data of underlying struct device will be set to NULL by Linux's
driver infrastructure. Clearing it here is unnecessary.
Signed-off-by: Andrey Smirnov <[email protected]>
Reviewed-by: Daniel Lezcano <[email protected]>
Tested-by: Lucas Stach <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Eduardo Valentin <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Angus Ainslie (Purism) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | drivers/thermal/qoriq_thermal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/qoriq_thermal.c b/drivers/thermal/qoriq_thermal.c index de8c9cd115aa..11749c673b3b 100644 --- a/drivers/thermal/qoriq_thermal.c +++ b/drivers/thermal/qoriq_thermal.c @@ -327,8 +327,6 @@ static int qoriq_tmu_remove(struct platform_device *pdev) clk_disable_unprepare(data->clk); - platform_set_drvdata(pdev, NULL); - return 0; } |