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 |
||
---|---|---|
.. | ||
gpio_if.m | ||
gpiobus_if.m | ||
gpiobus.c | ||
gpiobusvar.h | ||
gpioc.c | ||
gpioiic.c | ||
gpioled.c | ||
ofw_gpiobus.c |