Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-15 Thread amit daniel kachhap
On Mon, Jul 14, 2014 at 2:19 PM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 08.07.2014 14:27, Amit Daniel Kachhap wrote: This patch makes the regulator description macro take minimum and steps voltage as parameter. In this way many repeated macros can be removed. Now these macros

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-14 Thread Krzysztof Kozlowski
On 08.07.2014 14:27, Amit Daniel Kachhap wrote: This patch makes the regulator description macro take minimum and steps voltage as parameter. In this way many repeated macros can be removed. Now these macros are repeated only if the the LDO/BUCK ctrl registers have non-linear positions. The good

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-10 Thread Lee Jones
On Thu, 10 Jul 2014, amit daniel kachhap wrote: Adding MFD maintainers. Why, what for? On Tue, Jul 8, 2014 at 5:57 PM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch makes the regulator description macro take minimum and steps voltage as parameter. In this way many repeated

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-10 Thread amit daniel kachhap
On Thu, Jul 10, 2014 at 1:05 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 10 Jul 2014, amit daniel kachhap wrote: Adding MFD maintainers. Why, what for? Sorry not needed for this patch. On Tue, Jul 8, 2014 at 5:57 PM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch

Re: [PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-09 Thread amit daniel kachhap
Adding MFD maintainers. On Tue, Jul 8, 2014 at 5:57 PM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This patch makes the regulator description macro take minimum and steps voltage as parameter. In this way many repeated macros can be removed. Now these macros are repeated only if the

[PATCH 2/3] regulator: s2mpa01: Optimize the regulator description macro

2014-07-08 Thread Amit Daniel Kachhap
This patch makes the regulator description macro take minimum and steps voltage as parameter. In this way many repeated macros can be removed. Now these macros are repeated only if the the LDO/BUCK ctrl registers have non-linear positions. The good thing is these ctrl registers are mostly linear