[PATCH] i2c: mt65xx: convert set_speed function to void
Wolfram Sang
wsa+renesas at sang-engineering.com
Sat Oct 4 09:46:34 PDT 2025
On Thu, Sep 25, 2025 at 11:05:18PM +0200, Wolfram Sang wrote:
> cppcheck rightfully reports:
> drivers/i2c/busses/i2c-mt65xx.c:1464:6: warning: Condition 'ret' is always false [knownConditionTrueFalse]
>
> Make the function void and simplify the code.
>
> Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
Applied to for-next, thanks!
More information about the linux-arm-kernel
mailing list