Skip to contentSkip to conversation

regulator: bd70528: Add MODULE_ALIAS to allow module auto loading

PATCH In review Matti Vaittinen 2 participants 2 messages Oct 23, 2019 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: bd70528: Add MODULE_ALIAS to allow module auto loading

The bd70528 regulator driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for regulators is added.

Fixes 99ea37bd1e7d7 ("regulator: bd70528: Support ROHM BD70528 regulator block")

---

I'm not really sure if this is a bug-fix or feature but I guess the Fixes tag won't harm, right?

 drivers/regulator/bd70528-regulator.c | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/bd70528-regulator.c +1 -0
index 0248a61f1006..ec764022621f 100644
@@ -286,3 +286,4 @@ module_platform_driver(bd70528_regulator);
 MODULE_AUTHOR("Matti Vaittinen <[email protected]>");
 MODULE_DESCRIPTION("BD70528 voltage regulator driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:bd70528-pmic");
Signature · 14 lines
2.21.0


-- 
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =] 
maintainer
#1 lore raw

Applied "regulator: bd70528: Add MODULE_ALIAS to allow module auto loading" to the regulator tree

The patch

regulator: bd70528: Add MODULE_ALIAS to allow module auto loading

has been applied to the regulator tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

From 55d5f62c3fa005a6a8010363d7d1855909ceefbc Mon Sep 17 00:00:00 2001
From: Matti Vaittinen <[email protected]>
Date: Wed, 23 Oct 2019 15:14:52 +0300
Subject: [PATCH] regulator: bd70528: Add MODULE_ALIAS to allow module auto
loading

The bd70528 regulator driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for regulators is added.

Fixes 99ea37bd1e7d7 ("regulator: bd70528: Support ROHM BD70528 regulator block")
---
 drivers/regulator/bd70528-regulator.c | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/bd70528-regulator.c +1 -0
index 0248a61f1006..ec764022621f 100644
@@ -286,3 +286,4 @@ module_platform_driver(bd70528_regulator);
 MODULE_AUTHOR("Matti Vaittinen <[email protected]>");
 MODULE_DESCRIPTION("BD70528 voltage regulator driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:bd70528-pmic");
Signature · 1 line
2.20.1