linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: max14577: Add proper module aliases strings
       [not found] <CGME20201210112148eucas1p287afa49e63255e3320495d480eb06965@eucas1p2.samsung.com>
@ 2020-12-10 11:21 ` Marek Szyprowski
  2020-12-10 11:26   ` Krzysztof Kozlowski
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marek Szyprowski @ 2020-12-10 11:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: Marek Szyprowski, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
	Chanwoo Choi, Mark Brown

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 <m.szyprowski@samsung.com>
---
 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 <krzk@kernel.org>");
 MODULE_DESCRIPTION("Maxim 14577/77836 regulator driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:max14577-regulator");
+MODULE_ALIAS("platform:max77836-regulator");
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] regulator: max14577: Add proper module aliases strings
  2020-12-10 11:21 ` [PATCH] regulator: max14577: Add proper module aliases strings Marek Szyprowski
@ 2020-12-10 11:26   ` Krzysztof Kozlowski
  2020-12-11  8:30   ` Chanwoo Choi
  2020-12-11 17:50   ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2020-12-10 11:26 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: linux-kernel, Bartlomiej Zolnierkiewicz, Chanwoo Choi, Mark Brown

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 <m.szyprowski@samsung.com>
> ---
>  drivers/regulator/max14577-regulator.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] regulator: max14577: Add proper module aliases strings
  2020-12-10 11:21 ` [PATCH] regulator: max14577: Add proper module aliases strings Marek Szyprowski
  2020-12-10 11:26   ` Krzysztof Kozlowski
@ 2020-12-11  8:30   ` Chanwoo Choi
  2020-12-11 17:50   ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Chanwoo Choi @ 2020-12-11  8:30 UTC (permalink / raw)
  To: Marek Szyprowski, linux-kernel
  Cc: Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, Mark Brown

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 <m.szyprowski@samsung.com>
> ---
>  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 <krzk@kernel.org>");
>  MODULE_DESCRIPTION("Maxim 14577/77836 regulator driver");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:max14577-regulator");
> +MODULE_ALIAS("platform:max77836-regulator");
> 

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] regulator: max14577: Add proper module aliases strings
  2020-12-10 11:21 ` [PATCH] regulator: max14577: Add proper module aliases strings Marek Szyprowski
  2020-12-10 11:26   ` Krzysztof Kozlowski
  2020-12-11  8:30   ` Chanwoo Choi
@ 2020-12-11 17:50   ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2020-12-11 17:50 UTC (permalink / raw)
  To: Marek Szyprowski, linux-kernel
  Cc: Bartlomiej Zolnierkiewicz, Chanwoo Choi, Krzysztof Kozlowski

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-11 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20201210112148eucas1p287afa49e63255e3320495d480eb06965@eucas1p2.samsung.com>
2020-12-10 11:21 ` [PATCH] regulator: max14577: Add proper module aliases strings Marek Szyprowski
2020-12-10 11:26   ` Krzysztof Kozlowski
2020-12-11  8:30   ` Chanwoo Choi
2020-12-11 17:50   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).