Skip to contentSkip to conversation

i2c: mxs: Indicate that i2c driver was succesfully registered

PATCH In review Fabio Estevam 2 participants 2 messages Aug 18, 2012 – Sep 25, 2012 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: mxs: Indicate that i2c driver was succesfully registered

From: Fabio Estevam <[email protected]>

It is useful information in dmesg to have a message indicating that the i2c driver was succesfully registered.

--

 drivers/i2c/busses/i2c-mxs.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/i2c/busses/i2c-mxs.c +2 -0
index 088c5c1..619cbc8 100644
@@ -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;
 }
 
Signature · 1 line
1.7.9.5

A message that is not in the archive (sent off-list or not yet received): 1345319991-8660-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 4 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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