]> Git Repo - J-linux.git/commitdiff
regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"
authorKrzysztof Kozlowski <[email protected]>
Thu, 16 Sep 2021 14:41:02 +0000 (16:41 +0200)
committerMark Brown <[email protected]>
Fri, 17 Sep 2021 12:16:38 +0000 (13:16 +0100)
This reverts commit 0da6736ecd10b45e535b100acd58df2db4c099d8.

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 <[email protected]>
Fixes: 0da6736ecd10 ("regulator: max14577: Add proper module aliases strings")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
drivers/regulator/max14577-regulator.c

index 1d78b455cc48cb72d1e3f508e778d3c5d6fe5b65..e34face736f4876a2695ee610c810f7514cb4511 100644 (file)
@@ -269,5 +269,3 @@ module_exit(max14577_regulator_exit);
 MODULE_AUTHOR("Krzysztof Kozlowski <[email protected]>");
 MODULE_DESCRIPTION("Maxim 14577/77836 regulator driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:max14577-regulator");
-MODULE_ALIAS("platform:max77836-regulator");
This page took 0.058255 seconds and 4 git commands to generate.