All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] spi: loopback-test: drop driver owner assignment
@ 2024-03-27 17:47 Krzysztof Kozlowski
  2024-03-27 17:47 ` [PATCH 2/3] spi: coldfire-qspi: " Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:47 UTC (permalink / raw)
  To: Mark Brown, Vladimir Oltean, linux-spi, linux-kernel; +Cc: Krzysztof Kozlowski

Core in spi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/spi/spi-loopback-test.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c
index fee8893d2751..31a878d9458d 100644
--- a/drivers/spi/spi-loopback-test.c
+++ b/drivers/spi/spi-loopback-test.c
@@ -396,7 +396,6 @@ MODULE_DEVICE_TABLE(of, spi_loopback_test_of_match);
 static struct spi_driver spi_loopback_test_driver = {
 	.driver = {
 		.name = "spi-loopback-test",
-		.owner = THIS_MODULE,
 		.of_match_table = spi_loopback_test_of_match,
 	},
 	.probe = spi_loopback_test_probe,
-- 
2.34.1


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

* [PATCH 2/3] spi: coldfire-qspi: drop driver owner assignment
  2024-03-27 17:47 [PATCH 1/3] spi: loopback-test: drop driver owner assignment Krzysztof Kozlowski
@ 2024-03-27 17:47 ` Krzysztof Kozlowski
  2024-03-27 17:47 ` [PATCH 3/3] spi: fsl-dspi: " Krzysztof Kozlowski
  2024-03-28 20:34 ` [PATCH 1/3] spi: loopback-test: " Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:47 UTC (permalink / raw)
  To: Mark Brown, Vladimir Oltean, linux-spi, linux-kernel; +Cc: Krzysztof Kozlowski

Core in platform_driver_register() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/spi/spi-coldfire-qspi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/spi/spi-coldfire-qspi.c b/drivers/spi/spi-coldfire-qspi.c
index b341b6908df0..e83cd0510f20 100644
--- a/drivers/spi/spi-coldfire-qspi.c
+++ b/drivers/spi/spi-coldfire-qspi.c
@@ -500,7 +500,6 @@ static const struct dev_pm_ops mcfqspi_pm = {
 
 static struct platform_driver mcfqspi_driver = {
 	.driver.name	= DRIVER_NAME,
-	.driver.owner	= THIS_MODULE,
 	.driver.pm	= &mcfqspi_pm,
 	.probe		= mcfqspi_probe,
 	.remove_new	= mcfqspi_remove,
-- 
2.34.1


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

* [PATCH 3/3] spi: fsl-dspi: drop driver owner assignment
  2024-03-27 17:47 [PATCH 1/3] spi: loopback-test: drop driver owner assignment Krzysztof Kozlowski
  2024-03-27 17:47 ` [PATCH 2/3] spi: coldfire-qspi: " Krzysztof Kozlowski
@ 2024-03-27 17:47 ` Krzysztof Kozlowski
  2024-03-28 20:34 ` [PATCH 1/3] spi: loopback-test: " Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:47 UTC (permalink / raw)
  To: Mark Brown, Vladimir Oltean, linux-spi, linux-kernel; +Cc: Krzysztof Kozlowski

Core in platform_driver_register() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/spi/spi-fsl-dspi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 38defdcf9370..0a2730cd07c6 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -1458,7 +1458,6 @@ static void dspi_shutdown(struct platform_device *pdev)
 static struct platform_driver fsl_dspi_driver = {
 	.driver.name		= DRIVER_NAME,
 	.driver.of_match_table	= fsl_dspi_dt_ids,
-	.driver.owner		= THIS_MODULE,
 	.driver.pm		= &dspi_pm,
 	.probe			= dspi_probe,
 	.remove_new		= dspi_remove,
-- 
2.34.1


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

* Re: [PATCH 1/3] spi: loopback-test: drop driver owner assignment
  2024-03-27 17:47 [PATCH 1/3] spi: loopback-test: drop driver owner assignment Krzysztof Kozlowski
  2024-03-27 17:47 ` [PATCH 2/3] spi: coldfire-qspi: " Krzysztof Kozlowski
  2024-03-27 17:47 ` [PATCH 3/3] spi: fsl-dspi: " Krzysztof Kozlowski
@ 2024-03-28 20:34 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2024-03-28 20:34 UTC (permalink / raw)
  To: Vladimir Oltean, linux-spi, linux-kernel, Krzysztof Kozlowski

On Wed, 27 Mar 2024 18:47:35 +0100, Krzysztof Kozlowski wrote:
> Core in spi_register_driver() already sets the .owner, so driver
> does not need to.
> 
> 

Applied to

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

Thanks!

[1/3] spi: loopback-test: drop driver owner assignment
      commit: f04cff14e2a4fff4068bd25455531e01089103a8
[2/3] spi: coldfire-qspi: drop driver owner assignment
      commit: 6c360d3e4962dfb5a525dfef1fe75620f6a29bc8
[3/3] spi: fsl-dspi: drop driver owner assignment
      commit: a5bef84422eb066ee8fa5c13960657a79b3cc1e7

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:[~2024-03-28 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 17:47 [PATCH 1/3] spi: loopback-test: drop driver owner assignment Krzysztof Kozlowski
2024-03-27 17:47 ` [PATCH 2/3] spi: coldfire-qspi: " Krzysztof Kozlowski
2024-03-27 17:47 ` [PATCH 3/3] spi: fsl-dspi: " Krzysztof Kozlowski
2024-03-28 20:34 ` [PATCH 1/3] spi: loopback-test: " Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.