Re: [PATCH v2 3/6] usb: dwc3: haps: Constify the software node

From: Greg Kroah-Hartman
Date: Thu Feb 04 2021 - 09:47:13 EST


On Thu, Feb 04, 2021 at 05:17:08PM +0300, Heikki Krogerus wrote:
> What platform_device_add_properties() does is it allocates
> dynamically a software node that will contain the device
> properties supplied to it, and then couples that node with
> the device. Since that node is always created, it might as
> well be constant.
>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> ---
> drivers/usb/dwc3/dwc3-haps.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)

I've also now applied this, and patch 4/6 of the series as they have
nothing to do with your real work here :)

thanks,

greg k-h