mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Thermal: kirkwood: 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]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Acked-by: Eduardo Valentin <[email protected]>
Acked-by: Nobuhiro Iwamatsu <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
This commit is contained in:
parent
a2071b0b44
commit
0f3913bd2d
1 changed files with 0 additions and 1 deletions
|
|
@ -108,7 +108,6 @@ static int kirkwood_thermal_exit(struct platform_device *pdev)
|
|||
platform_get_drvdata(pdev);
|
||||
|
||||
thermal_zone_device_unregister(kirkwood_thermal);
|
||||
platform_set_drvdata(pdev, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue