thermal/drivers/k3_bandgap: Remove some unused fields in struct k3_bandgap
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 9 Apr 2024 19:56:43 +0000 (21:56 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 23 Apr 2024 10:40:29 +0000 (12:40 +0200)
In "struct k3_bandgap", the 'conf' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/206d39bed9ec6df9b4d80b1fc064e499389fc7fc.1712687420.git.christophe.jaillet@wanadoo.fr
drivers/thermal/k3_bandgap.c

index e88192d2afeae820b7d95120a065e8360727026a..2a703770fc917e25db9a877f258e3bf6e95cc417 100644 (file)
@@ -78,7 +78,6 @@ static const int k3_adc_to_temp[] = {
 
 struct k3_bandgap {
        void __iomem *base;
-       const struct k3_bandgap_data *conf;
 };
 
 /* common data structures */