2020-12-10 12:02:00

by Marek Szyprowski

[permalink] [raw]
Subject: [PATCH] regulator: max14577: Add proper module aliases strings

Add proper modalias structures to let this driver load automatically if
compiled as module, because max14577 MFD driver creates MFD cells with
such compatible strings.

Signed-off-by: Marek Szyprowski <[email protected]>
---
drivers/regulator/max14577-regulator.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/regulator/max14577-regulator.c b/drivers/regulator/max14577-regulator.c
index e34face736f4..1d78b455cc48 100644
--- a/drivers/regulator/max14577-regulator.c
+++ b/drivers/regulator/max14577-regulator.c
@@ -269,3 +269,5 @@ 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");
--
2.17.1


2020-12-10 12:06:17

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] regulator: max14577: Add proper module aliases strings

On Thu, Dec 10, 2020 at 12:21:39PM +0100, Marek Szyprowski wrote:
> Add proper modalias structures to let this driver load automatically if
> compiled as module, because max14577 MFD driver creates MFD cells with
> such compatible strings.
>
> Signed-off-by: Marek Szyprowski <[email protected]>
> ---
> drivers/regulator/max14577-regulator.c | 2 ++
> 1 file changed, 2 insertions(+)

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2020-12-11 12:21:24

by Chanwoo Choi

[permalink] [raw]
Subject: Re: [PATCH] regulator: max14577: Add proper module aliases strings

On 12/10/20 8:21 PM, Marek Szyprowski wrote:
> Add proper modalias structures to let this driver load automatically if
> compiled as module, because max14577 MFD driver creates MFD cells with
> such compatible strings.
>
> Signed-off-by: Marek Szyprowski <[email protected]>
> ---
> drivers/regulator/max14577-regulator.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/regulator/max14577-regulator.c b/drivers/regulator/max14577-regulator.c
> index e34face736f4..1d78b455cc48 100644
> --- a/drivers/regulator/max14577-regulator.c
> +++ b/drivers/regulator/max14577-regulator.c
> @@ -269,3 +269,5 @@ 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");
>

Reviewed-by: Chanwoo Choi <[email protected]>

--
Best Regards,
Chanwoo Choi
Samsung Electronics

2020-12-11 19:03:34

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] regulator: max14577: Add proper module aliases strings

On Thu, 10 Dec 2020 12:21:39 +0100, Marek Szyprowski wrote:
> Add proper modalias structures to let this driver load automatically if
> compiled as module, because max14577 MFD driver creates MFD cells with
> such compatible strings.

Applied to

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

Thanks!

[1/1] regulator: max14577: Add proper module aliases strings
commit: 0da6736ecd10b45e535b100acd58df2db4c099d8

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