[POWERPC] Prepare to remove of_platform_driver name
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2007 08:08:17 +0000 (18:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 9 Oct 2007 11:00:48 +0000 (21:00 +1000)
commitcd6eed3718b1b32c60a6ee5658ae6341de3177d9
tree632bbb439de3cc94caf41d6aa580070d33c5db55
parent7d6524f035e25fc3abd806f62e5345f911b9d10a
[POWERPC] Prepare to remove of_platform_driver name

The name field of of_platform_driver is just copied into the included
device_driver.  By not overriding an already initialised device_driver
name, we can convert the drivers over time to stop using the
of_platform_driver name.

Also we were not copying the owner field from of_platform_driver, so do
the same with it.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/of_platform.c