summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/edgetpu/abrolhos-thermal.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/edgetpu/abrolhos-thermal.c b/drivers/edgetpu/abrolhos-thermal.c
index 6da1bd2..2404f63 100644
--- a/drivers/edgetpu/abrolhos-thermal.c
+++ b/drivers/edgetpu/abrolhos-thermal.c
@@ -141,7 +141,6 @@ static int edgetpu_state2power_internal(unsigned long state, u32 *power,
}
static int edgetpu_get_requested_power(struct thermal_cooling_device *cdev,
- struct thermal_zone_device *tz,
u32 *power)
{
unsigned long state_original;
@@ -153,7 +152,6 @@ static int edgetpu_get_requested_power(struct thermal_cooling_device *cdev,
}
static int edgetpu_state2power(struct thermal_cooling_device *cdev,
- struct thermal_zone_device *tz,
unsigned long state, u32 *power)
{
struct edgetpu_thermal *cooling = cdev->devdata;
@@ -169,8 +167,7 @@ static int edgetpu_state2power(struct thermal_cooling_device *cdev,
}
static int edgetpu_power2state(struct thermal_cooling_device *cdev,
- struct thermal_zone_device *tz, u32 power,
- unsigned long *state)
+ u32 power, unsigned long *state)
{
int i;
struct edgetpu_thermal *cooling = cdev->devdata;