Searched refs:pdev_hotplug (Results 1 – 2 of 2) sorted by relevance
146 struct platform_device *pdev_hotplug; member1028 nvsw_sn2201->pdev_hotplug = in nvsw_sn2201_config_init()1034 if (IS_ERR(nvsw_sn2201->pdev_hotplug)) { in nvsw_sn2201_config_init()1035 err = PTR_ERR(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_init()1059 if (nvsw_sn2201->pdev_hotplug) in nvsw_sn2201_config_exit()1060 platform_device_unregister(nvsw_sn2201->pdev_hotplug); in nvsw_sn2201_config_exit()
358 struct platform_device *pdev_hotplug; member6324 priv->pdev_hotplug = in mlxplat_platdevs_init()6330 if (IS_ERR(priv->pdev_hotplug)) { in mlxplat_platdevs_init()6331 err = PTR_ERR(priv->pdev_hotplug); in mlxplat_platdevs_init()6407 platform_device_unregister(priv->pdev_hotplug); in mlxplat_platdevs_init()6424 if (priv->pdev_hotplug) in mlxplat_platdevs_exit()6425 platform_device_unregister(priv->pdev_hotplug); in mlxplat_platdevs_exit()