diff options
author | Maciej Purski <m.purski@samsung.com> | 2018-04-16 12:11:54 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-05-06 14:17:53 -0700 |
commit | fee88e2b04f11cda53a34988d53565b53d1d3e18 (patch) | |
tree | 27d962336d77a2209a14b1130bb7d1615ead8772 /drivers/thermal/samsung/exynos_tmu.h | |
parent | thermal: exynos: Propagate error value from tmu_read() (diff) | |
download | linux-dev-fee88e2b04f11cda53a34988d53565b53d1d3e18.tar.xz linux-dev-fee88e2b04f11cda53a34988d53565b53d1d3e18.zip |
thermal: exynos: Read soc_type from match data
Device context's field data->soc is currently obtained by comparing
of_compatible's. Provide soc_type as .data field in device's match
table, as it is done in most drivers.
Signed-off-by: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu.h')
0 files changed, 0 insertions, 0 deletions