commit | 8c0e64ac4075b7ca870098ed2ad6089868f5fa7b | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Mon Jul 16 16:41:55 2018 +0200 |
committer | Eduardo Valentin <edubezval@gmail.com> | Fri Jul 27 14:43:12 2018 -0700 |
tree | ed337502c26bd267c582995cc4fc0dcd9ebdcee9 | |
parent | 68b14828ca102630e721d10b2e5dedc9c9b38095 [diff] |
thermal: armada: get rid of the ->is_valid() pointer The implementation of armada_is_valid() is very simple and is the same across all the versions of the IP since the ->is_valid_bit has been introduced. Simplify the structure by getting rid of the function pointer and calling directly the function. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>