Skip to content

driver core: remove final user of devm_device_add_groups()

Greg Kroah-Hartman linux-hwmon lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: (oxp-sensors): remove static board variabledrivers/hwmon/oxp-sensors.c+25 -227 replies
2/3hwmon: (oxp-sensors): move to use dev_groups from platform devicedrivers/hwmon/oxp-sensors.c+23 -140 replies
3/3driver core: remove devm_device_add_groups()drivers/base/core.c include/linux/device.h+0 -472 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRafael J. WysockiDmitry Torokhov
1/3
2/3
3/3A-b A-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 0/3] driver core: remove final user of devm_device_add_groups()

In the 6.5-rc1 merge window, a new user of devm_device_add_groups() snuck in before I had a chance to remove it from the tree. This series removes that user (and cleans up a global variable in the oxp-sensor driver), and removes the call from the tree entirely.

Guenter, feel free to take these through your hwmon tree, or I can take them through my driver-core tree if you want me to.

Greg Kroah-Hartman (3):
hwmon: (oxp-sensors): remove static board variable
hwmon: (oxp-sensors): move to use dev_groups from platform device driver core: remove devm_device_add_groups()

 drivers/base/core.c         | 45 --------------------
 drivers/hwmon/oxp-sensors.c | 82 +++++++++++++++++++++----------------
 include/linux/device.h      |  2 -
 3 files changed, 47 insertions(+), 82 deletions(-)
Signature · 1 line
2.41.0