[POWERPC] Create and hook up of_platform_device_shutdown
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 25 Jan 2008 05:59:13 +0000 (16:59 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 6 Feb 2008 05:29:59 +0000 (16:29 +1100)
commita09ad3c462e802f0a522969ce377820cfad89ee8
tree719b029cb3e84988c3a736e0257a00c47d2fd480
parentbb125fb0e09c1b1e17d0b616f0e31fea937af9f6
[POWERPC] Create and hook up of_platform_device_shutdown

Although of_platform_device's can have a shutdown routine, at the moment
the bus code doesn't actually call it. So add the required glue to
hook the shutdown routine.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/of/platform.c