acerhdf: remove unneeded semicolon
PATCH 1/1 acerhdf: remove unneeded semicolon
./drivers/platform/x86/acerhdf.c:344:2-3: Unneeded semicolon.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/platform/x86/acerhdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/acerhdf.c +1 -1
@@ -341,7 +341,7 @@ static void acerhdf_check_param(struct thermal_zone_device *thermal)pr_err ("fanoff temperature (%d) is above fanon temperature (%d), clamping to %d\n" , fanoff, fanon, fanon); fanoff = fanon; - }; + } trips[0 ].temperature = fanon; trips[0 ].hysteresis = fanon - fanoff;
Signature · 1 line
2.20.1.7.g153144c
Hi,
Quoted 14 lines · Jiapeng Chong
./drivers/platform/x86/acerhdf.c:344:2-3: Unneeded semicolon.
Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- drivers/platform/x86/acerhdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/platform/x86/acerhdf.c +0
-0
drivers/platform/x86/acerhdf.c static void acerhdf_check_param(struct thermal_zone_device *thermal) · line 347
Quoted 8 lines
drivers/platform/x86/acerhdf.c +1
-1@@ -341,7 +341,7 @@ static void acerhdf_check_param(struct thermal_zone_device *thermal)pr_err ("fanoff temperature (%d) is above fanon temperature (%d), clamping to %d\n" , fanoff, fanon, fanon); fanoff = fanon; - }; + } trips[0 ].temperature = fanon; trips[0 ].hysteresis = fanon - fanoff;
This patch does not apply on my current for-next branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=for-next
I guess that this might be based on the thermal-zone changes which are going upstream for 6.1 through another tree.
Please rebase + resend this once 6.1-rc1 is out.
Regards,
Hans