thermal: tegra: soctherm: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Fri, 23 Nov 2018 14:50:58 +0000 (09:50 -0500)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 2 Jan 2019 12:47:14 +0000 (04:47 -0800)
commit05c1b7058aeab8a121e9af57ef97233f83ebeb75
tree1c70dda319bb01f15c2c2cefb337a0ded5878f83
parent199bc54b4a1f3848a62ccb1fa22e9c43c352b8fa
thermal: tegra: soctherm: Change to use DEFINE_SHOW_ATTRIBUTE macro

Use macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/tegra/soctherm.c