Re: [PATCH v4] leds: simatic-ipc-leds-gpio: make sure we have the GPIO providing driver

From: Andy Shevchenko
Date: Tue Jan 24 2023 - 08:50:48 EST


On Tue, Jan 24, 2023 at 3:35 PM Henning Schild
<henning.schild@xxxxxxxxxxx> wrote:
> Am Tue, 24 Jan 2023 11:46:34 +0200
> schrieb Andy Shevchenko <andy.shevchenko@xxxxxxxxx>:

...

> I would like to keep the number of files and CONFIG switches low, with
> a focus on the config switches. Every new CONFIG=y/m has to be
> requested in countless distros. So far i only dealt with debian where
> ubuntu might follow, did not check others with recent enough kernels ...
> like fedora if they have the SIMATIC stuff turned on or need to be
> asked to do so.

If you put the proper defaults, you can get good results without
torturing distro configurations.

See how 8250 has been splitting over the time, we have +~5 new Kconfig
options and their defaults are to keep the current behaviour without
the user needing to do anything in their configurations.

--
With Best Regards,
Andy Shevchenko