radeonfb: give i2c buses nicer names

The name of the i2c buses shows in the output of "i2cdetect -l", so
it's important to give informative names.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Jean Delvare and committed by Linus Torvalds 9bd6ceb6 c213ddf3

+2 -1
+2 -1
drivers/video/aty/radeon_i2c.c
··· 69 { 70 int rc; 71 72 - strcpy(chan->adapter.name, name); 73 chan->adapter.owner = THIS_MODULE; 74 chan->adapter.id = I2C_HW_B_RADEON; 75 chan->adapter.algo_data = &chan->algo;
··· 69 { 70 int rc; 71 72 + snprintf(chan->adapter.name, sizeof(chan->adapter.name), 73 + "radeonfb %s", name); 74 chan->adapter.owner = THIS_MODULE; 75 chan->adapter.id = I2C_HW_B_RADEON; 76 chan->adapter.algo_data = &chan->algo;