aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2025-01-13 22:19:11 +0000
committerBartosz Golaszewski <[email protected]>2025-01-23 07:44:51 +0000
commitb049e7abe9001a780d58e78e3833dcceee22f396 (patch)
treed6b4e97612743694810b0b86dd3db1659733058c /scripts/rustdoc_test_gen.rs
parentMerge tag 'gpio-updates-for-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/... (diff)
downloadkernel-b049e7abe9001a780d58e78e3833dcceee22f396.tar.gz
kernel-b049e7abe9001a780d58e78e3833dcceee22f396.zip
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: 0f2c7af45d7e ("gpio: mxc: Convert the driver to DT-only") Signed-off-by: Ahmad Fatoum <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/20250113-b4-imx-gpio-base-warning-v1-3-0a28731a5cf6@pengutronix.de Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions