summaryrefslogtreecommitdiff
path: root/drivers/thermal/kirkwood_thermal.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-08-04 17:21:01 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-22 21:46:13 +0200
commit1a6e1004f3225bebbe27e1575c22484a56e96f56 (patch)
treee7ee81b429ca3ae5b4a6c11abc30627f66967ff8 /drivers/thermal/kirkwood_thermal.c
parentb616959a59eed098fe34aa156d96c37880feabc6 (diff)
thermal: intel: int340x: simplify the code with module_platform_driver()
The init/exit() of the driver only calls platform_driver_{un}register(), so it can be simpilfied by using module_platform_driver(). Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal/kirkwood_thermal.c')
0 files changed, 0 insertions, 0 deletions