From: 张晴 Date: Fri, 6 Jun 2014 03:09:24 +0000 (+0800) Subject: rk3288:pmic:ricoh619:modify some warning X-Git-Tag: firefly_0821_release~5172 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ca5de5f00661135cf831510b32fdf45f70cfbc49;p=firefly-linux-kernel-4.4.55.git rk3288:pmic:ricoh619:modify some warning --- diff --git a/drivers/mfd/ricoh619.c b/drivers/mfd/ricoh619.c index 0893bd1b0f05..2afdc7f49eed 100755 --- a/drivers/mfd/ricoh619.c +++ b/drivers/mfd/ricoh619.c @@ -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)