summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-02-18 22:06:55 +0300
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-02-23 12:41:43 +0300
commit9eb7ecfd20f868421e44701274896ba9e136daae (patch)
tree027e6d921a8d1703e16783c577be7f24b76e61fa /include
parente62b94a690c8cd7050c3d308e01ee1b24ee9bb0b (diff)
downloadlinux-9eb7ecfd20f868421e44701274896ba9e136daae.tar.xz
gpio: tps65086: normalize return value of gpio_get
The GPIO get callback is expected to return 0 or 1 (or a negative error code). Ensure that the value returned by tps65086_gpio_get() is normalized to the [0, 1] range. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://patch.msgid.link/20260218190657.2974723-6-dmitry.torokhov@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions