acerhdf: remove unneeded semicolon
PATCH 1/1 acerhdf: remove unneeded semicolon
./drivers/platform/x86/acerhdf.c:343: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 5 lines · Jiapeng Chong
./drivers/platform/x86/acerhdf.c:343:2-3: Unneeded semicolon.
Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.
Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.
Regards,
Hans
Quoted 17 lines
--- 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;