[PATCH v2 0/2] staging: mt7621-pinctrl: use pinconf-generic in some driver ops

Sergio Paracuellos sergio.paracuellos at gmail.com
Fri Jan 4 11:34:07 UTC 2019


dt_node_to_map and dt_free_map operations can use pinconf-generic API's
instead of redefine operations in the driver. Make use of them cleaning
a bit driver's code and fixing a runtime warning.

Update DT accordly to make sure used bindings property in code match
with the board's DT bindings.

Both patches must be applied to properly fix the problem.

Changes in v2:
    - Rebase properly onto staging-next
    - Add tags 'Tested-by', 'Fixes' and 'Reported-by'
    - Re-do commit message describing the fixed problem.

Sergio Paracuellos (2):
  staging: mt7621-pinctrl: use pinconf-generic for 'dt_node_to_map' and
    'dt_free_map'
  staging: mt7621-dts: use standard 'groups' instead of 'group' for
    pinctrl bindings

 drivers/staging/mt7621-dts/gbpc1.dts          |  4 +-
 drivers/staging/mt7621-dts/mt7621.dtsi        | 24 +++++------
 drivers/staging/mt7621-pinctrl/Kconfig        |  1 +
 .../staging/mt7621-pinctrl/pinctrl-rt2880.c   | 41 ++-----------------
 4 files changed, 18 insertions(+), 52 deletions(-)

-- 
2.19.1



More information about the devel mailing list