commit | c556752109794a5ff199b80a1673336b4df8433a | [log] [tgz] |
---|---|---|
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | Sat Jan 16 20:43:13 2010 +0100 |
committer | Jean Delvare <khali@linux-fr.org> | Sat Jan 16 20:43:13 2010 +0100 |
tree | c52e1517783c04a77eed0faad64f9bcd5799f0b7 | |
parent | 22f8b2695eda496026623020811cae34590ee3d7 [diff] |
i2c: Do not use device name after device_unregister dev_dbg outputs dev_name, which is released with device_unregister. This bug resulted in output like this: i2c Xy2�0: adapter [SMBus I801 adapter at 1880] unregistered The right output would be: i2c i2c-0: adapter [SMBus I801 adapter at 1880] unregistered Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>