powerpc/of: Fix usage of dev_set_name() in of_device_alloc()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 16 Jun 2009 15:55:18 +0000 (15:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Jun 2009 06:55:35 +0000 (16:55 +1000)
commit03c01aa740d4137ea2884328f2c29956c6084834
treed4df186a14b294fd29acc50041d214995dd89fe2
parent6893ce6c1cdcf489b7ca8e6b6596208aa971a083
powerpc/of: Fix usage of dev_set_name() in of_device_alloc()

dev_set_name() takes a format string, so use it properly and avoid
a warning with recent gcc's

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/of_device.c