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

/linux-4.4.14/arch/arm/mach-davinci/
H A Dboard-dm644x-evm.c299 static struct platform_device *evm_led_dev; variable in typeref:struct:platform_device
315 evm_led_dev = platform_device_alloc("leds-gpio", 0); evm_led_setup()
316 platform_device_add_data(evm_led_dev, evm_led_setup()
319 evm_led_dev->dev.parent = &client->dev; evm_led_setup()
320 status = platform_device_add(evm_led_dev); evm_led_setup()
322 platform_device_put(evm_led_dev); evm_led_setup()
323 evm_led_dev = NULL; evm_led_setup()
331 if (evm_led_dev) { evm_led_teardown()
332 platform_device_unregister(evm_led_dev); evm_led_teardown()
333 evm_led_dev = NULL; evm_led_teardown()
H A Dboard-dm646x-evm.c183 static struct platform_device *evm_led_dev; variable in typeref:struct:platform_device
196 evm_led_dev = platform_device_alloc("leds-gpio", 0); evm_led_setup()
197 platform_device_add_data(evm_led_dev, &evm_led_data, evm_led_setup()
200 evm_led_dev->dev.parent = &client->dev; evm_led_setup()
201 status = platform_device_add(evm_led_dev); evm_led_setup()
203 platform_device_put(evm_led_dev); evm_led_setup()
204 evm_led_dev = NULL; evm_led_setup()
212 if (evm_led_dev) { evm_led_teardown()
213 platform_device_unregister(evm_led_dev); evm_led_teardown()
214 evm_led_dev = NULL; evm_led_teardown()

Completed in 81 milliseconds