Home
last modified time | relevance | path

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

/linux/drivers/platform/mellanox/
H A Dnvsw-sn2201.c151 struct platform_device *pdev_hotplug; member
1121 nvsw_sn2201->pdev_hotplug = in nvsw_sn2201_config_init()
1127 if (IS_ERR(nvsw_sn2201->pdev_hotplug)) { in nvsw_sn2201_config_init()
1128 err = PTR_ERR(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_init()
1152 if (nvsw_sn2201->pdev_hotplug) in nvsw_sn2201_config_exit()
1153 platform_device_unregister(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_exit()
H A Dmlx-platform.c396 struct platform_device *pdev_hotplug; member
7816 priv->pdev_hotplug = in mlxplat_platdevs_init()
7822 if (IS_ERR(priv->pdev_hotplug)) { in mlxplat_platdevs_init()
7823 err = PTR_ERR(priv->pdev_hotplug); in mlxplat_platdevs_init()
7916 platform_device_unregister(priv->pdev_hotplug); in mlxplat_platdevs_init()
7935 if (priv->pdev_hotplug) in mlxplat_platdevs_exit()
7936 platform_device_unregister(priv->pdev_hotplug); in mlxplat_platdevs_exit()