Messages in this thread | | | From | Bartosz Golaszewski <> | Date | Mon, 12 Feb 2024 10:19:50 +0100 | Subject | Re: [PATCH] gpio: constify opaque pointer in gpio_device_find() match function |
| |
On Thu, Feb 8, 2024 at 9:27 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > The match function used in gpio_device_find() should not modify the > contents of passed opaque pointer, because such modification would not > be necessary for actual matching and it could lead to quite unreadable, > spaghetti code. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > ---
Applied, thanks!
Bart
| |