Commit f84f6e0f authored by Bragatheswaran Manickavel's avatar Bragatheswaran Manickavel Committed by Daniel Lezcano

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: default avatarBragatheswaran Manickavel <bragathemanick0908@gmail.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230917083443.3220-1-bragathemanick0908@gmail.com
parent 6644c629
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment