]> asedeno.scripts.mit.edu Git - linux.git/commit
thermal: exynos: Read soc_type from match data
authorMaciej Purski <m.purski@samsung.com>
Mon, 16 Apr 2018 10:11:54 +0000 (12:11 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 6 May 2018 21:17:53 +0000 (14:17 -0700)
commitfee88e2b04f11cda53a34988d53565b53d1d3e18
tree27d962336d77a2209a14b1130bb7d1615ead8772
parent08d725cd93602312df2bc4208e4672a34c107d89
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>
drivers/thermal/samsung/exynos_tmu.c