Skip to content
Commit 1a6e1004 authored by Yang Yingliang's avatar Yang Yingliang Committed by Rafael J. Wysocki
Browse files

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: default avatarYang Yingliang <yangyingliang@huawei.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent b616959a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment