i2c: Fix confusing i2c-ibm_iic message
authorSean MacLennan <smaclennan@pikatech.com>
Mon, 2 Feb 2009 07:01:59 +0000 (07:01 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 4 Jun 2009 12:59:24 +0000 (08:59 -0400)
commit9d2c0f67c8cf8d2f34aa126da7b98d265d54017f
tree056c0f6620f53ae9eee466237b2ef65b7eec082b
parent27db1fea1868ee346fe5a2fba00eb8fc69283f2c
i2c: Fix confusing i2c-ibm_iic message

The i2c-ibm_iic driver printed messages in an odd order that seemed
to list devices before the driver was probed.

Here is an example:

at24 0-0052: 512 byte 24c04 EEPROM (writable)
ibm-iic ef600700.i2c: using standard (100 kHz) mode
ad7414 0-004a: chip found

This changes the order to print the i2c driver message before scanning
for devices so that the logs show the driver, then the devices.

Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
drivers/i2c/busses/i2c-ibm_iic.c
This page took 0.024964 seconds and 5 git commands to generate.