gpiolib: Make gpiochip_hierarchy_add_domain() return domain
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 21 Jun 2023 17:49:39 +0000 (20:49 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 10 Jul 2023 09:29:40 +0000 (11:29 +0200)
commitb683b487dce74bd709aa21aa1056bcc9462d1dfc
tree33bd9c64d9eef13060b94fb39bbfa7787d53fee1
parentdaecca4b8433d47f0db4933bcc0f283d530ba22e
gpiolib: Make gpiochip_hierarchy_add_domain() return domain

As a preparatory patch and for the sake of consistency, make
gpiochip_hierarchy_add_domain() return IRQ domain. While at it,
rename it to gpiochip_hierarchy_create_domain() to show
the change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib.c