“3282bd3cb0c7653e604c0d3666331281ae8f74c4”上不存在“arch/mips/include/asm/mach-cobalt/cobalt.h”
gpiolib: consolidate GPIO lookups
Ensure that all paths to obtain/look up GPIOD from generic consumer-visible APIs go through the new gpiod_find_and_request() helper, so that we can easily extend it with support for new firmware mechanisms. The only exception is OF-specific [devm_]gpiod_get_from_of_node() API that is still being used by a couple of drivers and will be removed as soon as patches converting them to use generic fwnode/device APIs are accepted. Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Showing
想要评论请 注册 或 登录