summaryrefslogtreecommitdiff
path: root/drivers/thermal/msm_thermal-dev.c
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-10-13 13:36:36 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-10-13 13:36:36 +0530
commit6a21d8496b038d1e71fd6a9bd8a95880135665d9 (patch)
tree8f96e9273400c0eb8794f92aef733bb5fe52b658 /drivers/thermal/msm_thermal-dev.c
parentb73f506bc0ae7119f5f629b222596a27d7b2e99b (diff)
parent17d850f5a5bc1318b67a974b16d32a2dd3bab5cf (diff)
Merge remote-tracking branch 'msm8998/lineage-20'master
Diffstat (limited to 'drivers/thermal/msm_thermal-dev.c')
-rw-r--r--drivers/thermal/msm_thermal-dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/msm_thermal-dev.c b/drivers/thermal/msm_thermal-dev.c
index ead9765666c8..632bfba0c655 100644
--- a/drivers/thermal/msm_thermal-dev.c
+++ b/drivers/thermal/msm_thermal-dev.c
@@ -346,7 +346,7 @@ static const struct file_operations msm_thermal_fops = {
.release = msm_thermal_ioctl_release,
};
-int msm_thermal_ioctl_init()
+int msm_thermal_ioctl_init(void)
{
int ret = 0;
dev_t thermal_dev;
@@ -409,7 +409,7 @@ ioctl_init_exit:
return ret;
}
-void msm_thermal_ioctl_cleanup()
+void msm_thermal_ioctl_cleanup(void)
{
uint32_t idx = 0;
dev_t thermal_dev = MKDEV(msm_thermal_major, 0);