]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: Use list_first_entry()/list_last_entry()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Mar 2022 10:54:14 +0000 (12:54 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 8 Mar 2022 08:52:57 +0000 (09:52 +0100)
commit36c446c01013f34bc016ad55c38ea4c4d41613ce
tree8190cef26f94a36bce01ac3c7d94f2196a2ad159
parentc36d13afc8a222c893d49a41abde484f3dd915b7
gpiolib: Use list_first_entry()/list_last_entry()

Use list_first_entry()/list_last_entry() instead of open coded variants.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpiolib.c