]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: mpc8xxx: use generic device_is_compatible()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 9 Oct 2024 16:29:10 +0000 (18:29 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 14 Oct 2024 08:30:11 +0000 (10:30 +0200)
commita937ee6d7eba055226fba300e17ade6f65de6d93
tree6f66f97a4efa55db4b8980cdee5e1c3a2680507c
parent2707a028c9b9c54a6dff22c9dcfebf3083ea095e
gpio: mpc8xxx: use generic device_is_compatible()

This driver doesn't need to include of.h and use OF-specific interfaces.
Use generic property helpers instead.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241009162910.33477-2-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-mpc8xxx.c