Searched refs:leds_pdev (Results 1 – 3 of 3) sorted by relevance
25 struct platform_device leds_pdev; member34 struct platform_device leds_pdev; member107 p->leds_pdev.name = "sunfire-clockboard-leds"; in clock_board_probe()108 p->leds_pdev.id = -1; in clock_board_probe()109 p->leds_pdev.resource = &p->leds_resource; in clock_board_probe()110 p->leds_pdev.num_resources = 1; in clock_board_probe()111 p->leds_pdev.dev.parent = &op->dev; in clock_board_probe()113 err = platform_device_register(&p->leds_pdev); in clock_board_probe()201 p->leds_pdev.name = "sunfire-fhc-leds"; in fhc_probe()202 p->leds_pdev.id = p->board_num; in fhc_probe()[all …]
65 struct platform_device *leds_pdev; member340 p50->leds_pdev = platform_device_register_data(&pdev->dev, in p50_gpio_probe()343 if (IS_ERR(p50->leds_pdev)) { in p50_gpio_probe()344 ret = PTR_ERR(p50->leds_pdev); in p50_gpio_probe()366 platform_device_unregister(p50->leds_pdev); in p50_gpio_probe()378 platform_device_unregister(p50->leds_pdev); in p50_gpio_remove()
672 struct platform_device *leds_pdev; in ams_delta_init() local732 leds_pdev = gpio_led_register_device(PLATFORM_DEVID_NONE, &leds_pdata); in ams_delta_init()733 if (!IS_ERR_OR_NULL(leds_pdev)) { in ams_delta_init()734 leds_gpio_table.dev_id = dev_name(&leds_pdev->dev); in ams_delta_init()