Commit graph

3 commits

Author SHA1 Message Date
Chen Ni
7762fdab23
regulator: adp5055: Remove unneeded semicolon
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20250414021950.3755819-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-04-14 11:22:40 +01:00
Arnd Bergmann
28cce24d65
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: 147b2a96f2 ("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>
2025-04-10 15:12:44 +01:00
Alexis Czezar Torreno
147b2a96f2
regulator: adp5055: Add driver for adp5055
Add ADI ADP5055 driver support. The device consists
of 3 buck regulators able to connect to high input voltages of up to 18V
with no preregulators.

Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@analog.com>
Link: https://patch.msgid.link/20250409-upstream-adp5055-v6-2-faa6e810deb1@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-04-09 13:47:22 +01:00