CHROMIUM: mfd: fix build warning
Andrew Chew [Wed, 18 May 2011 23:29:35 +0000 (16:29 -0700)]
The resume method does not take a pm_message_t parameter
(see include/linux/i2c.h's struct i2c_driver definition).

Signed-off-by: Andrew Chew <achew@nvidia.com>

BUG=none
TEST=Builds without warnings.

Change-Id: I4c6ef75723439842539efbb3845e62829963d53c
Reviewed-on: http://gerrit.chromium.org/gerrit/1146
Tested-by: Andrew Chew <achew@nvidia.com>
Reviewed-by: Wei Ni <wni@nvidia.com>
Reviewed-by: Mandeep Singh Baines <msb@chromium.org>

drivers/mfd/tps6586x.c

index b8e2c12..b6a7b76 100644 (file)
@@ -578,7 +578,7 @@ static int tps6586x_suspend(struct i2c_client *client, pm_message_t mesg)
        return 0;
 }
 
-static int tps6586x_resume(struct i2c_client *client, pm_message_t mesg)
+static int tps6586x_resume(struct i2c_client *client)
 {
        if (client->irq)
                enable_irq(client->irq);