* [PATCH] i2c: cadence: set THIS_MODULE to the owner of the adapter
@ 2015-07-21 7:14 Masahiro Yamada
2015-08-09 7:43 ` Wolfram Sang
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-07-21 7:14 UTC (permalink / raw)
To: linux-arm-kernel
The owner of the adapter is missing, while this driver is tristate.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
drivers/i2c/busses/i2c-cadence.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c
index 2ee78e0..3b33b8a 100644
--- a/drivers/i2c/busses/i2c-cadence.c
+++ b/drivers/i2c/busses/i2c-cadence.c
@@ -844,6 +844,7 @@ static int cdns_i2c_probe(struct platform_device *pdev)
id->irq = platform_get_irq(pdev, 0);
+ id->adap.owner = THIS_MODULE;
id->adap.dev.of_node = pdev->dev.of_node;
id->adap.algo = &cdns_i2c_algo;
id->adap.timeout = CDNS_I2C_TIMEOUT;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] i2c: cadence: set THIS_MODULE to the owner of the adapter
2015-07-21 7:14 [PATCH] i2c: cadence: set THIS_MODULE to the owner of the adapter Masahiro Yamada
@ 2015-08-09 7:43 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2015-08-09 7:43 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 21, 2015 at 04:14:36PM +0900, Masahiro Yamada wrote:
> The owner of the adapter is missing, while this driver is tristate.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150809/82a0004f/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-09 7:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-21 7:14 [PATCH] i2c: cadence: set THIS_MODULE to the owner of the adapter Masahiro Yamada
2015-08-09 7:43 ` Wolfram Sang
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).