Home
last modified time | relevance | path

Searched refs:pdev_led (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dmlx-platform.c197 * @pdev_led - led platform devices
207 struct platform_device *pdev_led; member
2927 priv->pdev_led = platform_device_register_resndata( in mlxplat_init()
2931 if (IS_ERR(priv->pdev_led)) { in mlxplat_init()
2932 err = PTR_ERR(priv->pdev_led); in mlxplat_init()
3000 platform_device_unregister(priv->pdev_led); in mlxplat_init()
3025 platform_device_unregister(priv->pdev_led); in mlxplat_exit()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dmlx-platform.c345 * @pdev_led - led platform devices
359 struct platform_device *pdev_led; member
6337 priv->pdev_led = in mlxplat_post_init()
6341 if (IS_ERR(priv->pdev_led)) { in mlxplat_post_init()
6342 err = PTR_ERR(priv->pdev_led); in mlxplat_post_init()
6402 platform_device_unregister(priv->pdev_led); in mlxplat_post_init()
6420 if (priv->pdev_led) in mlxplat_pre_exit()
6421 platform_device_unregister(priv->pdev_led); in mlxplat_pre_exit()

Completed in 9 milliseconds