[PATCH 03/12] backlight: gpio: pull the non-pdata device probing code into probe()

Linus Walleij linus.walleij at linaro.org
Thu Jun 27 11:14:58 UTC 2019


On Tue, Jun 25, 2019 at 5:34 PM Bartosz Golaszewski <brgl at bgdev.pl> wrote:

> From: Bartosz Golaszewski <bgolaszewski at baylibre.com>
>
> There's no good reason to have the generic probing code in a separate
> routine. This function is short and is inlined by the compiler anyway.
> Move it into probe under the pdata-specific part.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the dri-devel mailing list