Home
last modified time | relevance | path

Searched refs:pdev_hotplug (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/platform/mellanox/
Dnvsw-sn2201.c142 struct platform_device *pdev_hotplug; member
1024 nvsw_sn2201->pdev_hotplug = in nvsw_sn2201_config_init()
1030 if (IS_ERR(nvsw_sn2201->pdev_hotplug)) { in nvsw_sn2201_config_init()
1031 err = PTR_ERR(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_init()
1055 if (nvsw_sn2201->pdev_hotplug) in nvsw_sn2201_config_exit()
1056 platform_device_unregister(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_exit()
/Linux-v6.1/drivers/platform/x86/
Dmlx-platform.c296 struct platform_device *pdev_hotplug; member
5247 priv->pdev_hotplug = in mlxplat_init()
5253 if (IS_ERR(priv->pdev_hotplug)) { in mlxplat_init()
5254 err = PTR_ERR(priv->pdev_hotplug); in mlxplat_init()
5347 platform_device_unregister(priv->pdev_hotplug); in mlxplat_init()
5372 if (priv->pdev_hotplug) in mlxplat_exit()
5373 platform_device_unregister(priv->pdev_hotplug); in mlxplat_exit()