Re: [PATCH v3 0/4] fbdev: Make CONFIG_FB_DEVICE optional for drivers

From
Chintan Patel <hidden>
Date
2025-12-30 17:59:36
Also in
dri-devel, linux-omap, linux-staging, lkml
Reply to
Andy Shevchenko, 2025-12-30

On 12/30/25 03:33, Andy Shevchenko wrote:
On Mon, Dec 29, 2025 at 09:28:18PM -0800, Chintan Patel wrote:
quoted
This series makes CONFIG_FB_DEVICE optional for fbdev drivers that use
it only for sysfs interfaces, addressing Thomas Zimmermann’s TODO to
remove hard FB_DEVICE dependencies.

The series introduces a small helper, dev_of_fbinfo(), which returns
NULL when CONFIG_FB_DEVICE=n. This allows sysfs code paths to be skipped
via runtime checks, avoids #ifdef CONFIG_FB_DEVICE clutter, and keeps
full compile-time syntax checking.
quoted
Signed-off-by: Chintan Patel <redacted>
---
Changes in v3:
- Use PTR_IF() to conditionally include overlay_sysfs_group in
   overlay_sysfs_groups
- Decouple variable definition and assignment in fbtft_sysfs_init/exit
Any particular reasons you ignored my tag from v2?
Ah.. This is typo. I see what happened now. Looks like my script picked wrong or old patches instead of new updated one. Should I send v4 or v4 is fine?
Thread (20 messages) 20 messages, 6 authors, last reply 2026-01-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help