Skip to content
Commit 9efc58df authored by Ryder Lee's avatar Ryder Lee Committed by Eduardo Valentin
Browse files

thermal: mediatek: use of_device_get_match_data()



The usage of of_device_get_match_data() reduce the code size a bit.

Also, the only way to call mtk_thermal_probe() is to match an entry in
mtk_thermal_of_match[], so of_id cannot be NULL.

Signed-off-by: default avatarRyder Lee <ryder.lee@mediatek.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent b43e3cfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment