summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-idio-16.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-08-09 15:14:41 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-08-11 13:58:06 +0200
commit39df52ddd932244f2cc08ce520ad064b7dc8c278 (patch)
treec7960726e1c1c7bb289a0e705e82e7833f9109b2 /drivers/gpio/gpio-idio-16.c
parentgpio: xra1403: remove redundant of_match_ptr() (diff)
downloadlinux-39df52ddd932244f2cc08ce520ad064b7dc8c278.tar.xz
linux-39df52ddd932244f2cc08ce520ad064b7dc8c278.zip
gpio: sim: use sysfs_streq() and avoid an strdup()
When comparing strings passed to us from configfs, we can pass the page argument directly to sysfs_streq() and avoid manual string trimming. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-idio-16.c')
0 files changed, 0 insertions, 0 deletions