]> git.ipfire.org Git - thirdparty/linux.git/commit
thermal/drivers/hisi: Factor out the probe functions
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Sep 2018 09:03:02 +0000 (11:03 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:43:41 +0000 (17:43 -0700)
commit9bb4ec8d9e93f0d1a94e8aa9100c5f42fd364078
tree469c54c081860d9d35573a68a0faad4c884fb99b
parent49e778d1c750d5b1f773edeb93dfef963bef3f21
thermal/drivers/hisi: Factor out the probe functions

The hi6220 and the hi3660 probe functions are doing almost the same
operations, they can share 90% of their code.

Factor out the probe functions by moving the common code in the common
probe function.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/hisi_thermal.c