From ca5de5f00661135cf831510b32fdf45f70cfbc49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BC=A0=E6=99=B4?= Date: Fri, 6 Jun 2014 11:09:24 +0800 Subject: [PATCH] rk3288:pmic:ricoh619:modify some warning --- drivers/mfd/ricoh619.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.34.1