From: Thomas Zimmermann <tzimmermann@suse.de>
To: lee@kernel.org, pavel@ucw.cz, danielt@kernel.org,
jingoohan1@gmail.com, deller@gmx.de, simona@ffwll.ch
Cc: linux-leds@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-fbdev@vger.kernel.org,
Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH v2 11/11] fbdev: Remove constants of unused events
Date: Wed, 26 Feb 2025 10:32:00 +0100 [thread overview]
Message-ID: <20250226093456.147402-12-tzimmermann@suse.de> (raw)
In-Reply-To: <20250226093456.147402-1-tzimmermann@suse.de>
The constants FB_EVENT_MODE_CHANGE and FB_EVENT_BLANK are unused.
Remove them from the header file.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
include/linux/fb.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/linux/fb.h b/include/linux/fb.h
index bebf279c8bc6..c272c0fc074d 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -129,18 +129,12 @@ struct fb_cursor_user {
* Register/unregister for framebuffer events
*/
-/* The resolution of the passed in fb_info about to change */
-#define FB_EVENT_MODE_CHANGE 0x01
-
#ifdef CONFIG_GUMSTIX_AM200EPD
/* only used by mach-pxa/am200epd.c */
#define FB_EVENT_FB_REGISTERED 0x05
#define FB_EVENT_FB_UNREGISTERED 0x06
#endif
-/* A display blank is requested */
-#define FB_EVENT_BLANK 0x09
-
struct fb_event {
struct fb_info *info;
void *data;
--
2.48.1
prev parent reply other threads:[~2025-02-26 9:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 9:31 [PATCH v2 00/11] backlight, lcd, led: Remove fbdev dependencies Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 01/11] fbdev: Rework fb_blank() Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 02/11] fbdev: Track display blanking state Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 03/11] fbdev: Send old blank state in FB_EVENT_BLANK Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 04/11] backlight: Implement fbdev tracking with blank state from event Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 05/11] backlight: Move blank-state handling into helper Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 06/11] backlight: Replace fb events with a dedicated function call Thomas Zimmermann
2025-02-27 11:42 ` kernel test robot
2025-02-27 12:46 ` kernel test robot
2025-02-26 9:31 ` [PATCH v2 07/11] backlight: lcd: Move event handling into helpers Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 08/11] backlight: lcd: Replace fb events with a dedicated function call Thomas Zimmermann
2025-02-27 15:07 ` kernel test robot
2025-02-26 9:31 ` [PATCH v2 09/11] leds: backlight trigger: Move blank-state handling into helper Thomas Zimmermann
2025-02-26 9:31 ` [PATCH v2 10/11] leds: backlight trigger: Replace fb events with a dedicated function call Thomas Zimmermann
2025-02-26 9:32 ` Thomas Zimmermann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250226093456.147402-12-tzimmermann@suse.de \
--to=tzimmermann@suse.de \
--cc=danielt@kernel.org \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=lee@kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=simona@ffwll.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox