]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 16 Sep 2021 14:41:02 +0000 (16:41 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 17 Sep 2021 12:16:38 +0000 (13:16 +0100)
commitbd0820789fd4ad23758febbd2ff64e17da132568
tree6df48cb2b7ef1d1d690d4d9d42f7da03446b5cc2
parent9aeaf73c093ad30d1dd336c0ce853e3524fb8c0c
regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"

This reverts commit c7d6c363f873f18a532208f3f8183b5ae39eeb10.

The MODULE_DEVICE_TABLE already creates proper alias.  Having another
MODULE_ALIAS causes the alias to be duplicated:

  $ modinfo max14577-regulator.ko

  alias:          platform:max77836-regulator
  alias:          platform:max14577-regulator
  description:    Maxim 14577/77836 regulator driver
  alias:          platform:max77836-regulator
  alias:          platform:max14577-regulator

Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Fixes: c7d6c363f873 ("regulator: max14577: Add proper module aliases strings")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20210916144102.120980-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max14577-regulator.c