driver core: use initcall_debug to control shutdown info
authorShuoX Liu <shuox.liu@intel.com>
Fri, 23 Nov 2012 07:14:12 +0000 (15:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 00:25:36 +0000 (16:25 -0800)
commit0246c4fafccd6c3580bb33e8d30a2c7927e09f02
tree5eaae95f8b71e21ad144728075fd56f63657ec61
parent83ca897d170919035acfe5c472479941847e93cc
driver core: use initcall_debug to control shutdown info

syscore_shutdown uses initcall_debug to control the debug info output.
It’s a good programming. But device_shutdown doesn’t. The patch changes
device_shutdown to follow the style.

Signed-off-by: Yanmin Zhang <yanmin_zhang@linux.intel.com>
Signed-off-by: ShuoX Liu <shuox.liu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c