aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2022-07-14 10:03:17 +0800
committerBartosz Golaszewski <brgl@bgdev.pl>2022-07-19 10:01:25 +0200
commit242202329f0d851f64901111217ca4d52795a4b6 (patch)
tree914801ec11e20404feb72baec891573ae88bb560 /include/uapi/git:/ssh:/git@git.zx2c4.com
parentgpiolib: cdev: replace if-else chains with switches (diff)
downloadlinux-dev-242202329f0d851f64901111217ca4d52795a4b6.tar.xz
linux-dev-242202329f0d851f64901111217ca4d52795a4b6.zip
gpiolib: cdev: simplify line event identification
Reorganise line event identification code to reduce code duplication, and replace if-else initializers with a helper function to improve readability. Signed-off-by: Kent Gibson <warthog618@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/uapi/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions