public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: fan53555: remove vsel_max not used
@ 2012-09-10  3:40 Yunfan Zhang
  2012-09-10  3:53 ` Axel Lin
  0 siblings, 1 reply; 4+ messages in thread
From: Yunfan Zhang @ 2012-09-10  3:40 UTC (permalink / raw)
  To: Mark Brown; +Cc: Axel Lin, Liam Girdwood, linux-kernel@vger.kernel.org

The max voltage will be bounded by min_uV, uV_step and n_voltages, so
remove it to avoid confusing.

Signed-off-by: Yunfan Zhang <yfzhang@marvell.com>
---
 drivers/regulator/fan53555.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index 890f2b3..339f4d7 100644
--- a/drivers/regulator/fan53555.c
+++ b/drivers/regulator/fan53555.c
@@ -74,7 +74,6 @@ struct fan53555_device_info {
 	unsigned int sleep_reg;
 	/* Voltage range and step(linear) */
 	unsigned int vsel_min;
-	unsigned int vsel_max;
 	unsigned int vsel_step;
 	/* Voltage slew rate limiting */
 	unsigned int slew_rate;
@@ -180,12 +179,10 @@ static int fan53555_device_setup(struct fan53555_device_info *di,
 	case FAN53555_CHIP_ID_03:
 	case FAN53555_CHIP_ID_05:
 		di->vsel_min = 600000;
-		di->vsel_max = 1230000;
 		di->vsel_step = 10000;
 		break;
 	case FAN53555_CHIP_ID_04:
 		di->vsel_min = 603000;
-		di->vsel_max = 1411000;
 		di->vsel_step = 12826;
 		break;
 	default:
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] regulator: fan53555: remove vsel_max not used
  2012-09-10  3:40 [PATCH] regulator: fan53555: remove vsel_max not used Yunfan Zhang
@ 2012-09-10  3:53 ` Axel Lin
  2012-09-10  7:58   ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2012-09-10  3:53 UTC (permalink / raw)
  To: Yunfan Zhang; +Cc: Mark Brown, Liam Girdwood, linux-kernel@vger.kernel.org

2012/9/10 Yunfan Zhang <yfzhang@marvell.com>:
> The max voltage will be bounded by min_uV, uV_step and n_voltages, so
> remove it to avoid confusing.
>
> Signed-off-by: Yunfan Zhang <yfzhang@marvell.com>
Acked-by: Axel Lin <axel.lin@gmail.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] regulator: fan53555: remove vsel_max not used
  2012-09-10  3:53 ` Axel Lin
@ 2012-09-10  7:58   ` Mark Brown
  2012-09-10  8:30     ` Axel Lin
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2012-09-10  7:58 UTC (permalink / raw)
  To: Axel Lin; +Cc: Yunfan Zhang, Liam Girdwood, linux-kernel@vger.kernel.org

On Mon, Sep 10, 2012 at 11:53:55AM +0800, Axel Lin wrote:
> 2012/9/10 Yunfan Zhang <yfzhang@marvell.com>:
> > The max voltage will be bounded by min_uV, uV_step and n_voltages, so
> > remove it to avoid confusing.

Applied, thanks.

> Acked-by: Axel Lin <axel.lin@gmail.com>

I think you meant to say Reviewed-by here - Acked mostly just means that
you're OK with the patch being applied, it's not really saying anything
strong about the patch having been properly reviewed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] regulator: fan53555: remove vsel_max not used
  2012-09-10  7:58   ` Mark Brown
@ 2012-09-10  8:30     ` Axel Lin
  0 siblings, 0 replies; 4+ messages in thread
From: Axel Lin @ 2012-09-10  8:30 UTC (permalink / raw)
  To: Mark Brown; +Cc: Yunfan Zhang, Liam Girdwood, linux-kernel@vger.kernel.org

2012/9/10 Mark Brown <broonie@opensource.wolfsonmicro.com>:
> On Mon, Sep 10, 2012 at 11:53:55AM +0800, Axel Lin wrote:
>> 2012/9/10 Yunfan Zhang <yfzhang@marvell.com>:
>> > The max voltage will be bounded by min_uV, uV_step and n_voltages, so
>> > remove it to avoid confusing.
>
> Applied, thanks.
>
>> Acked-by: Axel Lin <axel.lin@gmail.com>
>
> I think you meant to say Reviewed-by here - Acked mostly just means that
Ah.. yes. should be Reviewed-by here.

> you're OK with the patch being applied, it's not really saying anything
> strong about the patch having been properly reviewed.

Thanks for the clarification.
Axel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-10  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10  3:40 [PATCH] regulator: fan53555: remove vsel_max not used Yunfan Zhang
2012-09-10  3:53 ` Axel Lin
2012-09-10  7:58   ` Mark Brown
2012-09-10  8:30     ` Axel Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox