Skip to content
Verified Commit 28cce24d authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown
Browse files

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: 147b2a96 ("regulator: adp5055: Add driver for adp5055")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20250410141006.866813-1-arnd@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 48e6872b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment