Files
linux/drivers
Ahmad Fatoum b049e7abe9 gpio: mxc: remove dead code after switch to DT-only
struct platform_device::id was only set by board code, but since i.MX
became a devicetree-only platform, this will always be -1
(PLATFORM_DEVID_NONE).

Note: of_alias_get_id() returns a negative number on error and base
treats all negative errors the same, so we need not add any additional
error handling.

Fixes: 0f2c7af45d ("gpio: mxc: Convert the driver to DT-only")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250113-b4-imx-gpio-base-warning-v1-3-0a28731a5cf6@pengutronix.de
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2025-01-23 08:44:51 +01:00
..
2025-01-10 14:24:17 +10:00
2024-11-05 05:33:46 +01:00
2025-01-18 17:10:05 -08:00
2024-11-15 00:32:29 +11:00
2025-01-04 15:27:35 -07:00
2024-11-12 15:48:08 +01:00