mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Thermal: exynos: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Eduardo Valentin <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
This commit is contained in:
parent
aa50c4e49c
commit
a2071b0b44
1 changed files with 0 additions and 3 deletions
|
|
@ -1001,7 +1001,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
|
|||
|
||||
return 0;
|
||||
err_clk:
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
clk_unprepare(data->clk);
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -1016,8 +1015,6 @@ static int exynos_tmu_remove(struct platform_device *pdev)
|
|||
|
||||
clk_unprepare(data->clk);
|
||||
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue