summaryrefslogtreecommitdiff
path: root/drivers/thermal/msm_thermal-dev.c
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-10-17 17:33:46 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-10-17 17:33:46 +0530
commit321337c9e82f016a0cd64f81573c18b5731ffa8d (patch)
treee9874bb042e851fec1e19bb8dfca694ef885456a /drivers/thermal/msm_thermal-dev.c
parentcc57cb4ee3b7918b74d30604735d353b9a5fa23b (diff)
Merge remote-tracking branch 'msm8998/lineage-20' into lineage-20
Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
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);