summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-01-07 11:58:33 +0300
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-01-09 11:58:13 +0300
commite034e058897a12bc856f8b22d1796964c742f732 (patch)
treeb5402dc9fc2a39dffc1483ddddf5be0c641245a6 /include
parent8ba379879aa3e8cef871fed4a509d4f0a6370e6c (diff)
downloadlinux-e034e058897a12bc856f8b22d1796964c742f732.tar.xz
gpio: line-mux: remove bits already handled by GPIO core
GPIO core already handles checking the offset against the number of GPIOs as well as missing any of the GPIO chip callbacks. Remove the unnecessary bits. Also, the offset check was off-by-one as reported by Dan. Fixes: 2b03d9a40cd1 ("gpio: add gpio-line-mux driver") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/all/aV4b6GAGz1zyf8Xy@stanley.mountain/ Tested-by: Jonas Jelonek <jelonek.jonas@gmail.com> Reviewed-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://lore.kernel.org/r/20260107085833.17338-1-bartosz.golaszewski@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions