aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorBragatheswaran Manickavel <bragathemanick0908@gmail.com>2023-09-17 14:04:43 +0530
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-10-15 23:40:09 +0200
commitf84f6e0f4588650e22543376d3333d65d578ff73 (patch)
tree2cf96ea85aaeca74cbfba209d3b2e279c300a4dd /drivers/thermal
parent6644c6291eec478874c9c4591282746da893bca5 (diff)
downloadlinux-f84f6e0f4588650e22543376d3333d65d578ff73.tar.gz
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')
-rw-r--r--drivers/thermal/imx8mm_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/imx8mm_thermal.c b/drivers/thermal/imx8mm_thermal.c
index c58fc73c074473..d74ed6ce2974c4 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 {