linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dma: xilinx: Remove .owner field for driver
@ 2014-08-13 11:57 Michal Simek
  2014-08-13 12:36 ` Levente Kurusa
  2014-08-19 17:07 ` Vinod Koul
  0 siblings, 2 replies; 3+ 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] 3+ messages in thread

* [PATCH] dma: xilinx: Remove .owner field for driver
  2014-08-13 11:57 [PATCH] dma: xilinx: Remove .owner field for driver Michal Simek
@ 2014-08-13 12:36 ` Levente Kurusa
  2014-08-19 17:07 ` Vinod Koul
  1 sibling, 0 replies; 3+ 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] 3+ messages in thread

* [PATCH] dma: xilinx: Remove .owner field for driver
  2014-08-13 11:57 [PATCH] dma: xilinx: Remove .owner field for driver Michal Simek
  2014-08-13 12:36 ` Levente Kurusa
@ 2014-08-19 17:07 ` Vinod Koul
  1 sibling, 0 replies; 3+ 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] 3+ messages in thread

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

Thread overview: 3+ 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 12:36 ` Levente Kurusa
2014-08-19 17:07 ` Vinod Koul

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).