Skip to content

gpio: exar: refactor the driver

Bartosz Golaszewski linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7gpio: exar: add a newline after the copyright noticedrivers/gpio/gpio-exar.c+1 -00 replies
2/7gpio: exar: include idr.hdrivers/gpio/gpio-exar.c+1 -00 replies
3/7gpio: exar: switch to a simpler IDA interfacedrivers/gpio/gpio-exar.c+3 -30 replies
4/7gpio: exar: use a helper variable for &pdev->devdrivers/gpio/gpio-exar.c+7 -80 replies
5/7gpio: exar: unduplicate address and offset computationdrivers/gpio/gpio-exar.c+28 -124 replies
6/7gpio: exar: switch to using regmapdrivers/gpio/Kconfig drivers/gpio/gpio-exar.c+38 -542 replies
7/7gpio: exar: use devm action for freeing the IDA and drop remove()drivers/gpio/gpio-exar.c+12 -152 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] gpio: exar: refactor the driver

From: Bartosz Golaszewski <[email protected]>

I just wanted to convert the driver to using simpler IDA API but ended up quickly converting it to using regmap. Unfortunately I don't have the HW to test it so marking the patches that introduce functional change as RFT and Cc'ing the original author.

Bartosz Golaszewski (7):
gpio: exar: add a newline after the copyright notice
gpio: exar: include idr.h
gpio: exar: switch to a simpler IDA interface
gpio: exar: use a helper variable for &pdev->dev
gpio: exar: unduplicate address and offset computation
gpio: exar: switch to using regmap
gpio: exar: use devm action for freeing the IDA and drop remove()

 drivers/gpio/Kconfig     |   1 +
 drivers/gpio/gpio-exar.c | 155 +++++++++++++++++++--------------------
 2 files changed, 77 insertions(+), 79 deletions(-)
Signature · 1 line
2.29.1