[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F7E8030.80000@nvidia.com>
Date: Fri, 6 Apr 2012 11:03:36 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Axel Lin <axel.lin@...il.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Liam Girdwood <lrg@...com>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: Re: [PATCH] regulator: rc5t583: Simplify RC5T583_REG macro
On Friday 06 April 2012 05:31 AM, Axel Lin wrote:
> Simplify RC5T583_REG macro by removing _vout_reg and _ds_reg parameters.
>
> The naming for vout_reg and deepsleep_reg can be replaced by:
> .vout_reg = RC5T583_REG_##_id##DAC,
> .deepsleep_reg = RC5T583_REG_##_id##DAC_DS,
>
> Signed-off-by: Axel Lin<axel.lin@...il.com>
> ---
Acked-by: Laxman Dewangan <ldewangan@...dia.com>
I thought of doing this on my first patch and then thought that table
should have all configuration picture rather than deriving from few
parameters.
If this is a good way then I will take care for my next PMIC driver
development.
Thanks,
Laxman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists