]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
regulator: 88pm800: fix warning same module names
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 12 Jun 2019 08:11:58 +0000 (10:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2019 19:35:39 +0000 (20:35 +0100)
commitbe55e56eaaa83b7fd39dbdda31abc19e00e9a1f3
tree7be4b033ae2dd83bf613d625e138e3392af52b73
parentde986efd26696f171946ee6a5720b3fa0aa43fc5
regulator: 88pm800: fix warning same module names

[ Upstream commit 6f10419187d0d5fe395e2a2f2a64370961bf02a3 ]

When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800
enabled as loadable modules, we see the following warning:

warning: same module names found:
  drivers/regulator/88pm800.ko
  drivers/mfd/88pm800.ko

Rework so that the file is named 88pm800-regulator.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/regulator/88pm800-regulator.c [moved from drivers/regulator/88pm800.c with 100% similarity]
drivers/regulator/Makefile