[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aVOGz2zGZQ2qBCUy@carbonx1>
Date: Tue, 30 Dec 2025 09:01:19 +0100
From: Helge Deller <deller@...nel.org>
To: Chintan Patel <chintanlike@...il.com>
Cc: linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v3 1/4] fb: Add dev_of_fbinfo() helper for optional sysfs
support
* Chintan Patel <chintanlike@...il.com>:
> Add dev_of_fbinfo() to return the framebuffer struct device when
> CONFIG_FB_DEVICE is enabled, or NULL otherwise.
>
> This allows fbdev drivers to use sysfs interfaces via runtime checks
> instead of CONFIG_FB_DEVICE ifdefs, keeping the code clean while
> remaining fully buildable.
>
> Suggested-by: Helge Deller <deller@....de>
> Signed-off-by: Chintan Patel <chintanlike@...il.com>
Reviewed-by: Helge Deller <deller@....de>
Powered by blists - more mailing lists