]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00261285-01 Remove unsupported function from sii902x drvier
authorSandor Yu <R01008@freescale.com>
Mon, 1 Jul 2013 07:59:56 +0000 (15:59 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:08 +0000 (14:14 +0200)
Remove suspend/resume function in i2c driver struct.
Sii902x power management function have implemented by fb interface.

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/video/mxc/mxcfb_sii902x_elcdif.c

index ceab3e66e91c00a02b06e5eb35307a56aa549340..13878e12e57fc7a78dfb505f3699b62dc1372ae0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2012 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2010-2013 Freescale Semiconductor, Inc. All Rights Reserved.
  */
 
 /*
@@ -461,18 +461,6 @@ static int __devexit sii902x_remove(struct i2c_client *client)
        return 0;
 }
 
-static int sii902x_suspend(struct i2c_client *client, pm_message_t message)
-{
-       /*TODO*/
-       return 0;
-}
-
-static int sii902x_resume(struct i2c_client *client)
-{
-       /*TODO*/
-       return 0;
-}
-
 static void sii902x_poweron(void)
 {
        struct fsl_mxc_lcd_platform_data *plat = sii902x.client->dev.platform_data;
@@ -522,8 +510,6 @@ static struct i2c_driver sii902x_i2c_driver = {
                   },
        .probe = sii902x_probe,
        .remove = sii902x_remove,
-       .suspend = sii902x_suspend,
-       .resume = sii902x_resume,
        .id_table = sii902x_id,
 };