Re: [PATCH 1/1] leds: simatic-ipc-leds-gpio: add new model BX-21A
From: Andy Shevchenko
Date: Thu Jun 01 2023 - 12:51:45 EST
On Wed, May 31, 2023 at 05:54:57PM +0200, Henning Schild wrote:
> This adds support for the Siemens Simatic IPC BX-21A. Its LEDs are
> connected to GPIO pins provided by the Intel Elkhart Lake pinctrl
> driver.
...
> +static struct platform_driver simatic_ipc_led_gpio_elkhartlake_driver = {
> + .probe = simatic_ipc_leds_gpio_elkhartlake_probe,
> + .remove = simatic_ipc_leds_gpio_elkhartlake_remove,
> + .driver = {
> + .name = KBUILD_MODNAME,
Just wondering if module name and hence device instance name (which may be
longer) can be so long.
Hint: you can use EHL/ehl for elkhartlake and in same way for the rest if any.
> + },
> +};
--
With Best Regards,
Andy Shevchenko