From: Bragatheswaran Manickavel Date: Sun, 17 Sep 2023 08:34:43 +0000 (+0530) Subject: thermal/drivers/imx8mm_thermal: Fix function pointer declaration by adding identifier... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f84f6e0f4588650e22543376d3333d65d578ff73;p=linux.git thermal/drivers/imx8mm_thermal: Fix function pointer declaration by adding identifier name 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 Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20230917083443.3220-1-bragathemanick0908@gmail.com --- diff --git a/drivers/thermal/imx8mm_thermal.c b/drivers/thermal/imx8mm_thermal.c index c58fc73c07447..d74ed6ce2974c 100644 --- a/drivers/thermal/imx8mm_thermal.c +++ b/drivers/thermal/imx8mm_thermal.c @@ -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 {