From 48bc177441d68c0ba70631beb544c3d695328d56 Mon Sep 17 00:00:00 2001 From: Ramakrishna Pallala Date: Tue, 27 Mar 2012 02:23:40 +0530 Subject: [PATCH] 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-format-patch failed