From: Mark Brown Date: Mon, 10 May 2010 21:10:13 +0000 (+0200) Subject: PM / platform_bus: Allow runtime PM by default X-Git-Tag: v2.6.35-rc1~484^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=543f2503a956601dd490c6cde0ebf6adb4653e50;p=pandora-kernel.git PM / platform_bus: Allow runtime PM by default Currently the default runtime PM callbacks for platform devices return -ENOSYS, preventing the use of runtime PM platforms until they have provided at least a default implementation. This hinders the use of runtime PM by devices which work with many platforms such as memory mapped devices, MFDs and on chip IPs shared by multiple architectures. Change the default implementation to the standard pm_generic_runtime one, allowing drivers to use runtime PM without per-architecture changes. Signed-off-by: Mark Brown Acked-by: Greg Kroah-Hartman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed