rk3288:pmic:ricoh619:modify some warning
author张晴 <zhangqing@rock-chips.com>
Fri, 6 Jun 2014 03:09:24 +0000 (11:09 +0800)
committer张晴 <zhangqing@rock-chips.com>
Fri, 6 Jun 2014 03:09:24 +0000 (11:09 +0800)
drivers/mfd/ricoh619.c

index 0893bd1b0f05155c58f7ba5b4d670a753a0399f1..2afdc7f49eed00d7cd72b77515da59f02e4a0ee1 100755 (executable)
@@ -395,7 +395,7 @@ out:
 }
 
 static struct i2c_client *ricoh619_i2c_client;
-static int ricoh619_device_shutdown(struct i2c_client *client)
+static void ricoh619_device_shutdown(struct i2c_client *client)
 {
        int ret;
        uint8_t val;
@@ -426,7 +426,6 @@ static int ricoh619_device_shutdown(struct i2c_client *client)
        ret = ricoh619_clr_bits(ricoh619->dev,RICOH619_PWR_REP_CNT,(0x1<<0));//Not repeat power ON after power off(Power Off/N_OE)
        mutex_lock(&ricoh619->io_lock);
        msleep(100);
-       return 0;
 }
 EXPORT_SYMBOL_GPL(ricoh619_device_shutdown);
 static void ricoh619_power_off(void)