regulator: bd70528: Add MODULE_ALIAS to allow module auto loading
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 23 Oct 2019 12:14:52 +0000 (15:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Jan 2020 09:01:05 +0000 (10:01 +0100)
commitb6cb98e60d0649e0d7c59da550c9860e03483656
tree31dfcb26ef607750921f305ce8eb610f424a3ddf
parente70290bb1f8fa625b0e9a98fd78efd3ec51fabcb
regulator: bd70528: Add MODULE_ALIAS to allow module auto loading

[ Upstream commit 55d5f62c3fa005a6a8010363d7d1855909ceefbc ]

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")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20191023121452.GA1812@localhost.localdomain
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/regulator/bd70528-regulator.c