Use a function pointer to decide whether to call i2c_add_adapter or i2c_add_numbered_adapter. This makes the code more compact than the current strategy of having the common code in a separate function. Signed-off-by: Jean Delvare <khali@linux-fr.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| i2c-algo-bit.c | ||
| i2c-algo-pca.c | ||
| i2c-algo-pcf.c | ||
| i2c-algo-pcf.h | ||