[PATCH 2/2] regulator: lochnagar: Remove redundant MODULE_ALIAS

From: Charles Keepax
Date: Fri Jan 18 2019 - 06:36:45 EST


The module alias has no effect as the driver can only be loaded through
device tree at this time.

Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
---
drivers/regulator/lochnagar-regulator.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/regulator/lochnagar-regulator.c b/drivers/regulator/lochnagar-regulator.c
index 4962d13659aab..41de3b715b4db 100644
--- a/drivers/regulator/lochnagar-regulator.c
+++ b/drivers/regulator/lochnagar-regulator.c
@@ -280,4 +280,3 @@ module_platform_driver(lochnagar_regulator_driver);
MODULE_AUTHOR("Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>");
MODULE_DESCRIPTION("Regulator driver for Cirrus Logic Lochnagar Board");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:lochnagar-regulator");
--
2.11.0