All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dma: xilinx: Remove .owner field for driver
@ 2014-08-13 11:57 ` Michal Simek
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2014-08-13 11:57 UTC (permalink / raw)
  To: linux-kernel, monstr
  Cc: Vinod Koul, Dan Williams, Levente Kurusa, Srikanth Thokala,
	Jassi Brar, dmaengine, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

There is no need to init .owner field.

Based on the patch from Peter Griffin <peter.griffin@linaro.org>
"mmc: remove .owner field for drivers using module_platform_driver"

This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 drivers/dma/xilinx/xilinx_vdma.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c
index 42a13e8d4607..a6e64767186e 100644
--- a/drivers/dma/xilinx/xilinx_vdma.c
+++ b/drivers/dma/xilinx/xilinx_vdma.c
@@ -1365,7 +1365,6 @@ static const struct of_device_id xilinx_vdma_of_ids[] = {
 static struct platform_driver xilinx_vdma_driver = {
 	.driver = {
 		.name = "xilinx-vdma",
-		.owner = THIS_MODULE,
 		.of_match_table = xilinx_vdma_of_ids,
 	},
 	.probe = xilinx_vdma_probe,
--
1.8.2.3


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* [PATCH] dma: xilinx: Remove .owner field for driver
@ 2014-08-13 11:57 ` Michal Simek
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Simek @ 2014-08-13 11:57 UTC (permalink / raw)
  To: linux-arm-kernel

There is no need to init .owner field.

Based on the patch from Peter Griffin <peter.griffin@linaro.org>
"mmc: remove .owner field for drivers using module_platform_driver"

This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 drivers/dma/xilinx/xilinx_vdma.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c
index 42a13e8d4607..a6e64767186e 100644
--- a/drivers/dma/xilinx/xilinx_vdma.c
+++ b/drivers/dma/xilinx/xilinx_vdma.c
@@ -1365,7 +1365,6 @@ static const struct of_device_id xilinx_vdma_of_ids[] = {
 static struct platform_driver xilinx_vdma_driver = {
 	.driver = {
 		.name = "xilinx-vdma",
-		.owner = THIS_MODULE,
 		.of_match_table = xilinx_vdma_of_ids,
 	},
 	.probe = xilinx_vdma_probe,
--
1.8.2.3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140813/289720ab/attachment.sig>

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

* Re: [PATCH] dma: xilinx: Remove .owner field for driver
  2014-08-13 11:57 ` Michal Simek
@ 2014-08-13 12:36   ` Levente Kurusa
  -1 siblings, 0 replies; 6+ messages in thread
From: Levente Kurusa @ 2014-08-13 12:36 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, Vinod Koul, Dan Williams, Srikanth Thokala,
	Jassi Brar, dmaengine, linux-arm-kernel

2014-08-13 13:57 GMT+02:00 Michal Simek <michal.simek@xilinx.com>:
> There is no need to init .owner field.
>
> Based on the patch from Peter Griffin <peter.griffin@linaro.org>
> "mmc: remove .owner field for drivers using module_platform_driver"
>
> This patch removes the superflous .owner field for drivers which
> use the module_platform_driver API, as this is overriden in
> platform_driver_register anyway."
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Reviewed-by: Levente Kurusa <lkurusa@redhat.com>

Cheers,
Levente Kurusa

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

* [PATCH] dma: xilinx: Remove .owner field for driver
@ 2014-08-13 12:36   ` Levente Kurusa
  0 siblings, 0 replies; 6+ messages in thread
From: Levente Kurusa @ 2014-08-13 12:36 UTC (permalink / raw)
  To: linux-arm-kernel

2014-08-13 13:57 GMT+02:00 Michal Simek <michal.simek@xilinx.com>:
> There is no need to init .owner field.
>
> Based on the patch from Peter Griffin <peter.griffin@linaro.org>
> "mmc: remove .owner field for drivers using module_platform_driver"
>
> This patch removes the superflous .owner field for drivers which
> use the module_platform_driver API, as this is overriden in
> platform_driver_register anyway."
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Reviewed-by: Levente Kurusa <lkurusa@redhat.com>

Cheers,
Levente Kurusa

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

* Re: [PATCH] dma: xilinx: Remove .owner field for driver
  2014-08-13 11:57 ` Michal Simek
@ 2014-08-19 17:07   ` Vinod Koul
  -1 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2014-08-19 17:07 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, Dan Williams, Levente Kurusa,
	Srikanth Thokala, Jassi Brar, dmaengine, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

On Wed, Aug 13, 2014 at 01:57:42PM +0200, Michal Simek wrote:
> There is no need to init .owner field.
> 
> Based on the patch from Peter Griffin <peter.griffin@linaro.org>
> "mmc: remove .owner field for drivers using module_platform_driver"
> 
> This patch removes the superflous .owner field for drivers which
> use the module_platform_driver API, as this is overriden in
> platform_driver_register anyway."

Applied, thanks

-- 
~Vinod


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* [PATCH] dma: xilinx: Remove .owner field for driver
@ 2014-08-19 17:07   ` Vinod Koul
  0 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2014-08-19 17:07 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Aug 13, 2014 at 01:57:42PM +0200, Michal Simek wrote:
> There is no need to init .owner field.
> 
> Based on the patch from Peter Griffin <peter.griffin@linaro.org>
> "mmc: remove .owner field for drivers using module_platform_driver"
> 
> This patch removes the superflous .owner field for drivers which
> use the module_platform_driver API, as this is overriden in
> platform_driver_register anyway."

Applied, thanks

-- 
~Vinod

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140819/6c31ff94/attachment.sig>

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

end of thread, other threads:[~2014-08-19 17:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 11:57 [PATCH] dma: xilinx: Remove .owner field for driver Michal Simek
2014-08-13 11:57 ` Michal Simek
2014-08-13 12:36 ` Levente Kurusa
2014-08-13 12:36   ` Levente Kurusa
2014-08-19 17:07 ` Vinod Koul
2014-08-19 17:07   ` Vinod Koul

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.