freebsd-dev/sys/dev/gpio
Warner Losh 3dede9f354 Use ofw_bus_find_child_device_by_phandle to see if the child we're
adding already exists and if so just return that. The typical use case
is from identify routines, which shouldn't be adding multiple copies
of the same phandle_t to the gpiobus. Only one per phandle_t is needed
(or expected by the current code).

Differential Revision: https://reviews.freebsd.org/D2871
2015-06-20 04:48:53 +00:00
..
gpio_if.m
gpiobus_if.m
gpiobus.c
gpiobusvar.h
gpioc.c
gpioiic.c
gpioled.c
ofw_gpiobus.c Use ofw_bus_find_child_device_by_phandle to see if the child we're 2015-06-20 04:48:53 +00:00