From 530cda2657a11ba74939988452b6372b239f26cd Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Thu, 17 May 2012 09:02:42 +0800 Subject: [PATCH] --- yaml --- r: 302307 b: refs/heads/master c: 0cbd6702186af44ca14d68d3fd3f3368287f4ee4 h: refs/heads/master i: 302305: 8549730dc15bd257420e1953beab5bceee3f7252 302303: b7e94960ef1ebcbad6121c28e12bbd2ce1c3a7b9 v: v3 --- [refs] | 2 +- trunk/drivers/regulator/max8649.c | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/[refs] b/[refs] index a31215dca24e..7f1d75711d44 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8b370e086b90245ef1da7fa6d41a1da205e11e77 +refs/heads/master: 0cbd6702186af44ca14d68d3fd3f3368287f4ee4 diff --git a/trunk/drivers/regulator/max8649.c b/trunk/drivers/regulator/max8649.c index 39fffb2e4036..1f4bb80457b3 100644 --- a/trunk/drivers/regulator/max8649.c +++ b/trunk/drivers/regulator/max8649.c @@ -60,16 +60,6 @@ struct max8649_regulator_info { unsigned ramp_down:1; }; -/* I2C operations */ - -static inline int check_range(int min_uV, int max_uV) -{ - if ((min_uV < MAX8649_DCDC_VMIN) || (max_uV > MAX8649_DCDC_VMAX) - || (min_uV > max_uV)) - return -EINVAL; - return 0; -} - /* EN_PD means pulldown on EN input */ static int max8649_enable(struct regulator_dev *rdev) {