Message ID | 20250303160341.1322640-1-andriy.shevchenko@linux.intel.com |
---|---|
Headers | show |
Series | gpiolib: Reduce 'gpio' namespace when operate over GPIOd | expand |
On Mon, Mar 03, 2025 at 06:09:21PM +0200, Andy Shevchenko wrote: > On Mon, Mar 03, 2025 at 06:00:34PM +0200, Andy Shevchenko wrote: > > In order to reduce the 'gpio' namespace when operate over GPIO descriptor > > rename gpio_do_set_config() to gpiod_do_set_config(). > > This change was made against my custom tree and I forgot about that. > I will wait for the overall response to this series and if okay I > may issue the correct patch. Or I can send that custom change separately as a prerequisite... Tell me what you prefer.
On Mon, Mar 3, 2025 at 5:03 PM Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > Align FLAG_* definitions in the struct gpio_desc for better readability. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> On Mon, 03 Mar 2025 18:00:31 +0200, Andy Shevchenko wrote: > In order to reduce the 'gpio' namespace when operate over GPIO descriptor > rename a couple of functions. > > The choice of the name in patch 2 is inspired by the existing > gpio_do_set_config() versus gpiod_set_config(). The patch 3 > also fixes it to be gpiod_do_set_config(), so we establish > two namespaces here: > - gpiod_do_foo() for the internal APIs > - gpiod_foo() for the external APIs > for whatever foo that makes sense. > > [...] Applied, thanks! [1/3] gpiolib: Align FLAG_* definitions in the struct gpio_desc commit: a45faa2aba2cb2b12ad4c732c9f5692db1f7f12f Best regards,