diff options
| author | Cezar Chiru <chiru.cezar.89@gmail.com> | 2025-10-23 15:00:42 +0300 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2025-10-28 17:05:25 +0100 |
| commit | e7ba30357ad4ea27ae424add599805f8fa237090 (patch) | |
| tree | 88a50c6750657a7c850e3ec375d503529b5bb8f1 /tools/docs/check-variable-fonts.py | |
| parent | 11cb461c2ebb5588ec11c75228c309619df551df (diff) | |
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
Diffstat (limited to 'tools/docs/check-variable-fonts.py')
0 files changed, 0 insertions, 0 deletions
