[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VcumPK00xv4R1XKOspTf-8G76dmx16BG3y5G=tJ5v_b4A@mail.gmail.com>
Date: Sat, 27 Dec 2025 16:23:12 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Chintan Patel <chintanlike@...il.com>
Cc: linux-fbdev@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, tzimmermann@...e.de, andy@...nel.org,
deller@....de, gregkh@...uxfoundation.org
Subject: Re: [PATCH v2 1/4] fb: Add dev_of_fbinfo() helper for optional sysfs support
On Fri, Dec 19, 2025 at 7:43 AM Chintan Patel <chintanlike@...il.com> wrote:
>
> 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.
Reviewed-by: Andy Shevchenko <andy@...nel.org>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists