Commit 47e3f00
thermal: core: Use device_unregister() instead of device_del/put()
Lets not open code device_unregister() unnecessarily.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent e398421 commit 47e3f00
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
1108 | | - | |
1109 | | - | |
| 1108 | + | |
1110 | 1109 | | |
1111 | 1110 | | |
1112 | 1111 | | |
| |||
0 commit comments