From: Ramakrishna Pallala Date: Mon, 26 Mar 2012 20:53:40 +0000 (+0530) Subject: max17042_battery: Add suspend/resume hooks X-Git-Tag: v3.5-rc1~23^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48bc177441d68c0ba70631beb544c3d695328d56;p=pandora-kernel.git max17042_battery: Add suspend/resume hooks This patch adds suspend/resume methods to the driver. In suspend method irq line is disabled to avoid i2c read/write errors from the interrupt handler as the i2c bus itself could be in suspend state. In resume function irq line will be re-enabled. Signed-off-by: Ramakrishna Pallala Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed