Skip to content
Commit 902f9249 authored by Andrzej Pietrasiewicz's avatar Andrzej Pietrasiewicz Committed by Liwei Song
Browse files

thermal: int3400_thermal: Statically initialize .get_mode()/.set_mode() ops



commit 79799562 upstream.

int3400_thermal_ops is used inside int3400_thermal_probe() only after
the assignments, which can just as well be made statically at struct's
initizer.

Signed-off-by: default avatarAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Reviewed-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200414180105.20042-2-andrzej.p@collabora.com


Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent fb7d299b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment