commit | 9bb4ec8d9e93f0d1a94e8aa9100c5f42fd364078 | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Tue Sep 25 11:03:02 2018 +0200 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon Oct 22 17:43:41 2018 -0700 |
tree | 469c54c081860d9d35573a68a0faad4c884fb99b | |
parent | 49e778d1c750d5b1f773edeb93dfef963bef3f21 [diff] |
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>