summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-04-10 16:09:58 +0200
committerMark Brown <broonie@kernel.org>2025-04-10 15:12:44 +0100
commit28cce24d6596a3d8a34689031f2a8a5ac918cde5 (patch)
tree48c403c6837178b0847bbe2c769700d4b6a75a19 /scripts/generate_rust_analyzer.py
parent48e6872b467a444352c2333c5aa6e7bd59677cef (diff)
regulator: adp5055: remove duplicate device table
When building with -Wunused-const-variable, gcc points out an device table that is not referenced anywhere: drivers/regulator/adp5055-regulator.c:346:34: error: unused variable 'adp5055_dt_ids' [-Werror,-Wunused-const-variable] 346 | static const struct of_device_id adp5055_dt_ids[] = { | ^~~~~~~~~~~~~~ The contents are the same as the second table in that file, so just remove this copy. Fixes: 147b2a96f24e ("regulator: adp5055: Add driver for adp5055") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20250410141006.866813-1-arnd@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions