Searched refs:pdev_fan (Results 1 – 1 of 1) sorted by relevance
299 struct platform_device *pdev_fan; member5298 priv->pdev_fan = platform_device_register_resndata(&mlxplat_dev->dev, "mlxreg-fan", in mlxplat_init()5302 if (IS_ERR(priv->pdev_fan)) { in mlxplat_init()5303 err = PTR_ERR(priv->pdev_fan); in mlxplat_init()5338 platform_device_unregister(priv->pdev_fan); in mlxplat_init()5366 if (priv->pdev_fan) in mlxplat_exit()5367 platform_device_unregister(priv->pdev_fan); in mlxplat_exit()