thermal: mi_thermal_interface: Add prototypes to function declarations and add missing type specifiers

Change-Id: I91435bce8d6b4a0df50adf24cfd74e7a5b9862ad
This commit is contained in:
Arian 2024-02-20 23:02:22 +01:00 committed by Jens Reidel
parent 94a527b3ed
commit 256c18b0c6
No known key found for this signature in database
GPG Key ID: 23C1E5F512C12303

View File

@ -217,7 +217,7 @@ static int cpu_thermal_init(void)
return ret;
}
static void destory_thermal_cpu()
static void destory_thermal_cpu(void)
{
struct cpufreq_device *priv, *tmp;
list_for_each_entry_safe (priv, tmp, &cpufreq_dev_list, node) {
@ -927,7 +927,7 @@ static int thermal_check_panel(struct device_node *np)
return 0;
}
static void create_thermal_message_node()
static void create_thermal_message_node(void)
{
int ret = 0;
struct kernfs_node *sysfs_sd = NULL;
@ -998,7 +998,7 @@ static void screen_state_check(struct work_struct *work)
struct device_node *node;
void *pvt_data = NULL;
int error = 0;
static retry_count = 10;
static int retry_count = 10;
node = of_find_node_by_name(NULL, "thermal-screen");
if (!node) {