From: Shubhrajyoti D Date: Fri, 28 Oct 2011 11:44:18 +0000 (+0530) Subject: spi/omap: call pm_runtime_disable in error path and remove X-Git-Tag: v3.3-rc1~63^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=751c925cbb3a270f9771e3945494cb44bd9e732a;p=pandora-kernel.git spi/omap: call pm_runtime_disable in error path and remove omap mcspi probe() doesnt call pm_runtime disable functions in case of failure. remove() doesnt call pm_runtime disable. This could lead to warnings as below on subsequent insmod. ~# insmod spi-omap2-mcspi.ko [ 255.383671] omap2_mcspi omap2_mcspi.1: Unbalanced pm_runtime_enable! ... This patch adds the pm_runtime disable() at appropriate stages. Signed-off-by: Hebbar, Gururaja Signed-off-by: Shubhrajyoti D Signed-off-by: Grant Likely --- Reading git-diff-tree failed