[PATCH v3 3/3] arch/powerpc: Remove <linux/fb.h> from backlight code
Michael Ellerman
mpe at ellerman.id.au
Thu Mar 7 21:33:00 AEDT 2024
Thomas Zimmermann <tzimmermann at suse.de> writes:
> Replace <linux/fb.h> with a forward declaration in <asm/backlight.h> to
> resolve an unnecessary dependency. Remove pmac_backlight_curve_lookup()
> and struct fb_info from source and header files. The function and the
> framebuffer struct are unused. No functional changes.
>
> v3:
> * Add Fixes tag (Christophe)
> * fix typos in commit message (Jani)
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Fixes: d565dd3b0824 ("[PATCH] powerpc: More via-pmu backlight fixes")
> Reviewed-by: Jani Nikula <jani.nikula at intel.com>
> ---
> arch/powerpc/include/asm/backlight.h | 5 ++--
> arch/powerpc/platforms/powermac/backlight.c | 26 ---------------------
> 2 files changed, 2 insertions(+), 29 deletions(-)
Acked-by: Michael Ellerman <mpe at ellerman.id.au> (powerpc)
cheers
More information about the Linuxppc-dev
mailing list