hwmon: (ibmaem) match return type of wait_for_completion_timeout
authorQiushi Wu <qiushi@linux.ibm.com>
Fri, 13 Jun 2025 18:24:13 +0000 (14:24 -0400)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 20 Jul 2025 23:38:34 +0000 (16:38 -0700)
commit36b0fef0b5437413ff3bfeba19e610d2c4fb0e5f
tree01ab1a8b4a905f722ce3dd754bef66c4669a8935
parent6e253295e9c4c1dc1cf4a5eb4c0a0d9ebb68ce4b
hwmon: (ibmaem) match return type of wait_for_completion_timeout

Return type of wait_for_completion_timeout is unsigned long not int.
Check its return value inline instead of introducing a throw-away
variable.

Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Qiushi Wu <qiushi@linux.ibm.com>
Link: https://lore.kernel.org/r/20250613182413.1426367-1-qiushi@linux.ibm.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ibmaem.c