[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200908125813.8809-1-brgl@bgdev.pl>
Date: Tue, 8 Sep 2020 14:58:10 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Linus Walleij <linus.walleij@...aro.org>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Kent Gibson <warthog618@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org,
Bartosz Golaszewski <bgolaszewski@...libre.com>
Subject: [PATCH 0/3] gpiolib: generalize GPIO line names property
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
I initially sent this as part of the gpio-mockup overhaul but since
these patches are indepentent and the work on gpio-mockup may become
more complicated - I'm sending these separately.
The only change is adding additional property helpers to count strings
in array.
Bartosz Golaszewski (3):
device: property: add helpers to count items in string arrays
gpiolib: generalize devprop_gpiochip_set_names() for device properties
gpiolib: unexport devprop_gpiochip_set_names()
drivers/gpio/Makefile | 1 -
drivers/gpio/gpiolib-acpi.c | 3 --
drivers/gpio/gpiolib-devprop.c | 20 ++++++-------
drivers/gpio/gpiolib-of.c | 5 ----
drivers/gpio/gpiolib.c | 55 +++++++++++++++++++++++++++++++---
include/linux/gpio/driver.h | 3 --
include/linux/property.h | 13 ++++++++
7 files changed, 74 insertions(+), 26 deletions(-)
--
2.26.1
Powered by blists - more mailing lists