lkml.org 
[lkml]   [2023]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Fix Samsung pinctrl driver static allocation of GPIO base warning
Date
The object of this work is fixing the following warning, which appears
on all targets using that driver:

gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.

This needs a small refactor to how we interact with the pinctrl
subsystem. Finally, we remove some bookkeeping that has only been
necessary to allocate GPIO bases correctly.

Mateusz Majewski (4):
pinctrl: samsung: defer pinctrl_enable
pinctrl: samsung: use add_pin_ranges method to add pinctrl ranges
pinctrl: samsung: choose GPIO numberspace base dynamically
pinctrl: samsung: do not offset pinctrl numberspaces

drivers/pinctrl/samsung/pinctrl-samsung.c | 56 ++++++++++++-----------
drivers/pinctrl/samsung/pinctrl-samsung.h | 4 +-
2 files changed, 31 insertions(+), 29 deletions(-)

--
2.42.0

\
 
 \ /
  Last update: 2023-10-06 15:01    [W:0.181 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site