Skip to content

Commit dc96605

Browse files
krzkbroonie
authored andcommitted
regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"
This reverts commit 0da6736. 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: 0da6736 ("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]>
1 parent 8635804 commit dc96605

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/regulator/max14577-regulator.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,5 +269,3 @@ module_exit(max14577_regulator_exit);
269269
MODULE_AUTHOR("Krzysztof Kozlowski <[email protected]>");
270270
MODULE_DESCRIPTION("Maxim 14577/77836 regulator driver");
271271
MODULE_LICENSE("GPL");
272-
MODULE_ALIAS("platform:max14577-regulator");
273-
MODULE_ALIAS("platform:max77836-regulator");

0 commit comments

Comments
 (0)