Re: [PATCH v3 3/3] arch/powerpc: Remove <linux/fb.h> from backlight code
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2024-03-07 10:33:06
Also in:
dri-devel, linuxppc-dev, lkml
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2024-03-07 10:33:06
Also in:
dri-devel, linuxppc-dev, lkml
Thomas Zimmermann [off-list ref] 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@suse.de>
Fixes: d565dd3b0824 ("[PATCH] powerpc: More via-pmu backlight fixes")
Reviewed-by: Jani Nikula <redacted>
---
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@ellerman.id.au> (powerpc) cheers