From: Shubhrajyoti D Date: Tue, 29 May 2012 10:56:14 +0000 (+0530) Subject: I2C: OMAP: Fix the mismatch of pm_runtime enable and disable X-Git-Tag: v3.6-rc1~67^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=247405160093cf88cb59242f877543dd28e93df1;p=pandora-kernel.git I2C: OMAP: Fix the mismatch of pm_runtime enable and disable Currently the i2c driver calls the pm_runtime_enable and never the disable. This may cause a warning when pm_runtime_enable checks for the count match.Fix the same by calling pm_runtime_disable in the error and the remove path. Cc: Rajendra Nayak Acked-by: Kevin Hilman Signed-off-by: Shubhrajyoti D Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed