mbox series

[0/3] driver core: remove final user of devm_device_add_groups()

Message ID 20230704131715.44454-5-gregkh@linuxfoundation.org (mailing list archive)
Headers show
Series driver core: remove final user of devm_device_add_groups() | expand

Message

Greg Kroah-Hartman July 4, 2023, 1:17 p.m. UTC
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(-)