thermal/drivers/imx8mm_thermal: Fix function pointer declaration by adding identifier...
authorBragatheswaran Manickavel <bragathemanick0908@gmail.com>
Sun, 17 Sep 2023 08:34:43 +0000 (14:04 +0530)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 15 Oct 2023 21:40:09 +0000 (23:40 +0200)
Added identifier names to respective definitions for fix
warnings reported by checkpatch.pl

WARNING: function definition argument 'void *' should also have an identifier name
WARNING: function definition argument 'int *' should also have an identifier name
Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230917083443.3220-1-bragathemanick0908@gmail.com
drivers/thermal/imx8mm_thermal.c

index c58fc73c0744733a4474bb4f00abbed070dc2248..d74ed6ce2974c47ce80e5157c79f11faf5a2f208 100644 (file)
@@ -78,7 +78,7 @@
 struct thermal_soc_data {
        u32 num_sensors;
        u32 version;
-       int (*get_temp)(void *, int *);
+       int (*get_temp)(void *data, int *temp);
 };
 
 struct tmu_sensor {