* [PATCH] i2c: mxs: Indicate that i2c driver was succesfully registered
@ 2012-08-18 19:59 Fabio Estevam
[not found] ` <1345319991-8660-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2012-08-18 19:59 UTC (permalink / raw)
To: w.sang-bIcnvbaLZ9MEGnE8C9+IrQ
Cc: shawn.guo-QSEj5FYQhm4dnm+yROfE0A,
linux-i2c-u79uwXL29TY76Z2rM5mHXA, Fabio Estevam
From: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
It is useful information in dmesg to have a message indicating that the i2c
driver was succesfully registered.
Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
--
drivers/i2c/busses/i2c-mxs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c
index 088c5c1..619cbc8 100644
--- a/drivers/i2c/busses/i2c-mxs.c
+++ b/drivers/i2c/busses/i2c-mxs.c
@@ -447,6 +447,8 @@ static int __devinit mxs_i2c_probe(struct platform_device *pdev)
of_i2c_register_devices(adap);
+ dev_info(dev, "MXS I2C adapter registered\n");
+
return 0;
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: mxs: Indicate that i2c driver was succesfully registered
[not found] ` <1345319991-8660-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-09-25 16:23 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-09-25 16:23 UTC (permalink / raw)
To: Fabio Estevam
Cc: w.sang-bIcnvbaLZ9MEGnE8C9+IrQ, shawn.guo-QSEj5FYQhm4dnm+yROfE0A,
linux-i2c-u79uwXL29TY76Z2rM5mHXA, Fabio Estevam
On Sat, Aug 18, 2012 at 04:59:51PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
>
> It is useful information in dmesg to have a message indicating that the i2c
> driver was succesfully registered.
If this is useful shouldn't it be in either the driver core or the bus
code (ie, why does this apply to this device and not others)?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-25 16:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-18 19:59 [PATCH] i2c: mxs: Indicate that i2c driver was succesfully registered Fabio Estevam
[not found] ` <1345319991-8660-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-09-25 16:23 ` 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).