]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: twl-core: Use i2c_check_functionality as boolean value
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 5 May 2026 11:45:43 +0000 (13:45 +0200)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:32:12 +0000 (11:32 +0100)
commit7ee4fa2674e51a0d100b9240cd8a50355141362f
tree0da2bcfabe08197f0cd0d459a39e35790e1ea13b
parentd11880e32e7b3c702ac5cd7c415543a743c3db85
mfd: twl-core: Use i2c_check_functionality as boolean value

i2c_check_functionality() returns a boolean status rather than an error
code - directly use it as a boolean value.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260505114543.159381-2-thorsten.blum@linux.dev
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/twl-core.c