Loading
i2c: pcf8584: Make pcf_doAddress() function void
Change pcf_doAddress() function's type from int to void as it always returns 0. This way there is no need for extra assignment and extra checks when the function is called. Remove assignment of pcf_doAddress() and replace it with a simple function call. Suggested-by:Andi Shyti <andi.shyti@kernel.org> Signed-off-by:
Cezar Chiru <chiru.cezar.89@gmail.com> Signed-off-by:
Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20251023120043.8661-3-chiru.cezar.89@gmail.com