Skip to content

misc: eeprom_93xx46: Get rid of legacy GPIO APIs

Andy Shevchenko lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10misc: eeprom_93xx46: Make use of device propertiesdrivers/misc/eeprom/eeprom_93xx46.c+20 -211 reply
2/10eeprom: digsy_mtc: Fix 93xx46 driver probe failuredrivers/misc/eeprom/digsy_mtc_eeprom.c+1 -10 replies
3/10eeprom: digsy_mtc: Convert to use GPIO descriptorsdrivers/misc/eeprom/digsy_mtc_eeprom.c+20 -261 reply
4/10misc: eeprom_93xx46: Hide legacy platform data in the driverdrivers/misc/eeprom/eeprom_93xx46.c include/linux/eeprom_93xx46.h+29 -381 reply
5/10misc: eeprom_93xx46: Remove ->prepare() and ->finish() customisationdrivers/misc/eeprom/eeprom_93xx46.c+8 -401 reply
6/10misc: eeprom_93xx46: Use spi_message_init_with_transfers()drivers/misc/eeprom/eeprom_93xx46.c+13 -210 replies
7/10misc: eeprom_93xx46: Convert to use kstrtox()drivers/misc/eeprom/eeprom_93xx46.c+7 -31 reply
8/10misc: eeprom_93xx46: Replace explicit castings with proper specifiersdrivers/misc/eeprom/eeprom_93xx46.c+5 -51 reply
9/10misc: eeprom_93xx46: Use string_choices API instead of ternary operatordrivers/misc/eeprom/eeprom_93xx46.c+5 -41 reply
10/10misc: eeprom_93xx46: Convert to DEVICE_ATTR_WO()drivers/misc/eeprom/eeprom_93xx46.c+3 -41 reply

Reviews trailers per patch

8 of 10 patches have a Reviewed-by or Acked-by.

PatchLinus Walleij
1/10R-b
2/10
3/10R-b
4/10R-b
5/10R-b
6/10
7/10R-b
8/10R-b
9/10R-b
10/10R-b

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 v1 00/10] misc: eeprom_93xx46: Get rid of legacy GPIO APIs

The driver and its solely consumer (via platform data) are using old GPIO APIs, convert them for good. On top some spring cleanups and fixes.

Andy Shevchenko (10):
misc: eeprom_93xx46: Make use of device properties
eeprom: digsy_mtc: Fix 93xx46 driver probe failure
eeprom: digsy_mtc: Convert to use GPIO descriptors
misc: eeprom_93xx46: Hide legacy platform data in the driver
misc: eeprom_93xx46: Remove ->prepare() and ->finish() customisation
misc: eeprom_93xx46: Use spi_message_init_with_transfers()
misc: eeprom_93xx46: Convert to use kstrtox()
misc: eeprom_93xx46: Replace explicit castings with proper specifiers
misc: eeprom_93xx46: Use string_choices API instead of ternary
operator
misc: eeprom_93xx46: Convert to DEVICE_ATTR_WO()

 drivers/misc/eeprom/digsy_mtc_eeprom.c |  46 +++----
 drivers/misc/eeprom/eeprom_93xx46.c    | 178 ++++++++++++-------------
 include/linux/eeprom_93xx46.h          |  32 -----
 3 files changed, 102 insertions(+), 154 deletions(-)
 delete mode 100644 include/linux/eeprom_93xx46.h
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac