Re: [PATCH] nvmem: core: switch to use device_add_groups()

From: Srinivas Kandagatla
Date: Thu Apr 11 2024 - 06:03:25 EST



On Wed, 27 Mar 2024 09:11:46 +0100, Greg Kroah-Hartman wrote:
> devm_device_add_groups() is being removed from the kernel, so move the
> nvmem driver to use device_add_groups() instead. The logic is
> identical, when the device is removed the driver core will properly
> clean up and remove the groups, and the memory used by the attribute
> groups will be freed because it was created with dev_* calls, so this is
> functionally identical overall.
>
> [...]

Applied, thanks!

[1/1] nvmem: core: switch to use device_add_groups()
commit: ea8f9ec2bbb75adac49dbaaf267f8727ee26b91b

Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>