i2c: Use snprintf to set adapter names
authorJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 13:29:18 +0000 (14:29 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 13:29:18 +0000 (14:29 +0100)
commit66c7acf61dc6b27954bb9ceb8617d447ac03734a
tree181d26436a00e62e9fc52df1b38740eaa23730d6
parent1561bfe59ca011d9a749dad4d96c2c22ebc86a4a
i2c: Use snprintf to set adapter names

Use snprintf instead of sprintf to set adapter names, it's safer.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-ali1563.c
drivers/i2c/busses/i2c-amd756-s4882.c
drivers/i2c/busses/i2c-amd756.c
drivers/i2c/busses/i2c-at91.c
drivers/i2c/busses/i2c-sis5595.c
drivers/i2c/busses/i2c-sis630.c