]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: tps65219: Use existing kernel gpio macros
authorShree Ramamoorthy <s-ramamoorthy@ti.com>
Tue, 17 Dec 2024 20:47:55 +0000 (14:47 -0600)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 20 Dec 2024 13:44:24 +0000 (14:44 +0100)
commitc9ec045fa8053820573efbaa70137d0857e444db
tree87df0e03268bfbd52b56e74294c8679fb7cee1b9
parent7cef813a91c468253c80633891393478b9f2c966
gpio: tps65219: Use existing kernel gpio macros

Replace the user-defined macros with the equivalent kernel macros provided.

The user-defined macros serve the same purpose as the common kernel macros.
The user-defined macros rely on the inference that _IN corresponds to true
and _OUT is false.

Signed-off-by: Shree Ramamoorthy <s-ramamoorthy@ti.com>
Link: https://lore.kernel.org/r/20241217204755.1011731-2-s-ramamoorthy@ti.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tps65219.c