Skip to content

Commit f84f6e0

Browse files
bragathemanickdlezcano
authored andcommitted
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 <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6644c62 commit f84f6e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thermal/imx8mm_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
struct thermal_soc_data {
7979
u32 num_sensors;
8080
u32 version;
81-
int (*get_temp)(void *, int *);
81+
int (*get_temp)(void *data, int *temp);
8282
};
8383

8484
struct tmu_sensor {

0 commit comments

Comments
 (0)