aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2021-02-04 17:17:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-05 10:08:19 +0100
commitb1638ee56c1a3fddee062beac93d2fe528eb2eca (patch)
treec6ccacec731824aa4482814f40fd3a911210360a /drivers/usb/cdns3/cdns3-imx.c
parentsoftware node: Provide replacement for device_add_properties() (diff)
downloadlinux-dev-b1638ee56c1a3fddee062beac93d2fe528eb2eca.tar.xz
linux-dev-b1638ee56c1a3fddee062beac93d2fe528eb2eca.zip
usb: dwc3: host: Use software node API with the properties
This replaces the platform_device_add_properties() call with the safer device_create_managed_software_node() that does exactly the same, but can also guarantee that the lifetime of the node that is created for the device is tied to the lifetime of device itself. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20210204141711.53775-6-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions