summaryrefslogtreecommitdiffstats
path: root/drivers/peci/cpu.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-05 08:03:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-05 08:03:23 +0200
commita956f91247da3fe71e4d5f7da1f6dd8bae7c3c21 (patch)
treedcbfa79369938f1349af5b39a68dee698861a815 /drivers/peci/cpu.c
parentUSB: hcd-pci: Drop the unused id parameter from usb_hcd_pci_probe() (diff)
parentLinux 6.0-rc4 (diff)
downloadlinux-a956f91247da3fe71e4d5f7da1f6dd8bae7c3c21.tar.xz
linux-a956f91247da3fe71e4d5f7da1f6dd8bae7c3c21.zip
Merge 6.0-rc4 into usb-next
We need the USB fixes in here and this resolves the merge issue in: drivers/usb/dwc3/gadget.c Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/peci/cpu.c')
-rw-r--r--drivers/peci/cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/peci/cpu.c b/drivers/peci/cpu.c
index 68eb61c65d34..de4a7b3e5966 100644
--- a/drivers/peci/cpu.c
+++ b/drivers/peci/cpu.c
@@ -188,8 +188,6 @@ static void adev_release(struct device *dev)
{
struct auxiliary_device *adev = to_auxiliary_dev(dev);
- auxiliary_device_uninit(adev);
-
kfree(adev->name);
kfree(adev);
}
@@ -234,6 +232,7 @@ static void unregister_adev(void *_adev)
struct auxiliary_device *adev = _adev;
auxiliary_device_delete(adev);
+ auxiliary_device_uninit(adev);
}
static int devm_adev_add(struct device *dev, int idx)