diff options
author | Bragatheswaran Manickavel <bragathemanick0908@gmail.com> | 2023-09-17 11:34:43 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-10-16 00:40:09 +0300 |
commit | f84f6e0f4588650e22543376d3333d65d578ff73 (patch) | |
tree | 2cf96ea85aaeca74cbfba209d3b2e279c300a4dd /drivers/thermal/imx8mm_thermal.c | |
parent | 6644c6291eec478874c9c4591282746da893bca5 (diff) | |
download | linux-f84f6e0f4588650e22543376d3333d65d578ff73.tar.xz |
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 <bragathemanick0908@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230917083443.3220-1-bragathemanick0908@gmail.com
Diffstat (limited to 'drivers/thermal/imx8mm_thermal.c')
-rw-r--r-- | drivers/thermal/imx8mm_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/imx8mm_thermal.c b/drivers/thermal/imx8mm_thermal.c index c58fc73c0744..d74ed6ce2974 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 { |