mbox series

[0/3] of/gpiolib: minor constifying

Message ID 20210728144229.323611-1-krzysztof.kozlowski@canonical.com
Headers show
Series of/gpiolib: minor constifying | expand

Message

Krzysztof Kozlowski July 28, 2021, 2:42 p.m. UTC
Hi,

Minor constifying of pointer to device_node.  Patches depend on each
other (in order of submission).

Best regards,
Krzysztof


Krzysztof Kozlowski (3):
  of: unify of_count_phandle_with_args() arguments with !CONFIG_OF
  gpiolib: constify passed device_node pointer
  gpiolib: of: constify few local device_node variables

 drivers/gpio/gpiolib-devres.c |  2 +-
 drivers/gpio/gpiolib-of.c     | 16 ++++++++--------
 include/linux/gpio/consumer.h |  8 ++++----
 include/linux/of.h            |  2 +-
 include/linux/of_gpio.h       | 15 ++++++++-------
 5 files changed, 22 insertions(+), 21 deletions(-)

Comments

Rob Herring Aug. 2, 2021, 9:39 p.m. UTC | #1
On Wed, Jul 28, 2021 at 04:42:26PM +0200, Krzysztof Kozlowski wrote:
> Hi,
> 
> Minor constifying of pointer to device_node.  Patches depend on each
> other (in order of submission).
> 
> Best regards,
> Krzysztof
> 
> 
> Krzysztof Kozlowski (3):
>   of: unify of_count_phandle_with_args() arguments with !CONFIG_OF
>   gpiolib: constify passed device_node pointer
>   gpiolib: of: constify few local device_node variables

For the series,

Reviewed-by: Rob Herring <robh@kernel.org>

> 
>  drivers/gpio/gpiolib-devres.c |  2 +-
>  drivers/gpio/gpiolib-of.c     | 16 ++++++++--------
>  include/linux/gpio/consumer.h |  8 ++++----
>  include/linux/of.h            |  2 +-
>  include/linux/of_gpio.h       | 15 ++++++++-------
>  5 files changed, 22 insertions(+), 21 deletions(-)
> 
> -- 
> 2.27.0
> 
>
Bartosz Golaszewski Aug. 5, 2021, 7:22 p.m. UTC | #2
\\\On Mon, Aug 2, 2021 at 11:39 PM Rob Herring <robh@kernel.org> wrote:
>
> On Wed, Jul 28, 2021 at 04:42:26PM +0200, Krzysztof Kozlowski wrote:
> > Hi,
> >
> > Minor constifying of pointer to device_node.  Patches depend on each
> > other (in order of submission).
> >
> > Best regards,
> > Krzysztof
> >
> >
> > Krzysztof Kozlowski (3):
> >   of: unify of_count_phandle_with_args() arguments with !CONFIG_OF
> >   gpiolib: constify passed device_node pointer
> >   gpiolib: of: constify few local device_node variables
>
> For the series,
>
> Reviewed-by: Rob Herring <robh@kernel.org>
>
> >
> >  drivers/gpio/gpiolib-devres.c |  2 +-
> >  drivers/gpio/gpiolib-of.c     | 16 ++++++++--------
> >  include/linux/gpio/consumer.h |  8 ++++----
> >  include/linux/of.h            |  2 +-
> >  include/linux/of_gpio.h       | 15 ++++++++-------
> >  5 files changed, 22 insertions(+), 21 deletions(-)
> >
> > --
> > 2.27.0
> >
> >

Series applied, thanks!

Bart