diff options
author | Bragatheswaran Manickavel <bragathemanick0908@gmail.com> | 2023-09-17 14:04:43 +0530 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-10-15 23:40:09 +0200 |
commit | f84f6e0f4588650e22543376d3333d65d578ff73 (patch) | |
tree | 2cf96ea85aaeca74cbfba209d3b2e279c300a4dd /drivers | |
parent | 6644c6291eec478874c9c4591282746da893bca5 (diff) | |
download | linux-stable-f84f6e0f4588650e22543376d3333d65d578ff73.tar.gz linux-stable-f84f6e0f4588650e22543376d3333d65d578ff73.tar.bz2 linux-stable-f84f6e0f4588650e22543376d3333d65d578ff73.zip |
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')
-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 { |