Lines Matching refs:leds_pdev
25 struct platform_device leds_pdev; member
34 struct platform_device leds_pdev; member
107 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()
203 p->leds_pdev.resource = &p->leds_resource; in fhc_probe()
204 p->leds_pdev.num_resources = 1; in fhc_probe()
205 p->leds_pdev.dev.parent = &op->dev; in fhc_probe()
207 err = platform_device_register(&p->leds_pdev); in fhc_probe()