i2c-powermac: Drop temporary name buffer
authorJean Delvare <khali@linux-fr.org>
Sun, 6 Dec 2009 16:06:20 +0000 (17:06 +0100)
committerJean Delvare <khali@linux-fr.org>
Sun, 6 Dec 2009 16:06:20 +0000 (17:06 +0100)
commitbc6286e50b4a34d8af52132d6e22f85c6c8853a7
treeb75637331e7734e9bebebfc59ac7bf83fdac829d
parent6dfa5ca3c9a35cb395ab1f51e0e500106c85dff4
i2c-powermac: Drop temporary name buffer

We no longer need to write the adapter name to a temporary buffer.
We can write it directly to the i2c_adapter's name field. This is
more efficient.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Michel Daenzer <michel@daenzer.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/i2c/busses/i2c-powermac.c