Re: [PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-03-03 Thread Krzysztof Kozlowski
> > Hi, > > On Mon, 2014-03-03 at 10:09 +0800, Mark Brown wrote: > > On Fri, Feb 28, 2014 at 11:01:50AM +0100, Krzysztof Kozlowski wrote: > > > Add __initconst to 'regulator_desc' array with supported regulators. > > > During probe choose how many and which regulators will be supported > > >

Re: [PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-03-03 Thread Krzysztof Kozlowski
Hi, On Mon, 2014-03-03 at 10:09 +0800, Mark Brown wrote: > On Fri, Feb 28, 2014 at 11:01:50AM +0100, Krzysztof Kozlowski wrote: > > Add __initconst to 'regulator_desc' array with supported regulators. > > During probe choose how many and which regulators will be supported > > according to device

Re: [PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-03-03 Thread Krzysztof Kozlowski
Hi, On Mon, 2014-03-03 at 10:09 +0800, Mark Brown wrote: On Fri, Feb 28, 2014 at 11:01:50AM +0100, Krzysztof Kozlowski wrote: Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID.

Re: [PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-03-03 Thread Krzysztof Kozlowski
Hi, On Mon, 2014-03-03 at 10:09 +0800, Mark Brown wrote: On Fri, Feb 28, 2014 at 11:01:50AM +0100, Krzysztof Kozlowski wrote: Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to

Re: [PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-03-02 Thread Mark Brown
On Fri, Feb 28, 2014 at 11:01:50AM +0100, Krzysztof Kozlowski wrote: > Add __initconst to 'regulator_desc' array with supported regulators. > During probe choose how many and which regulators will be supported > according to device ID. Then copy the 'regulator_desc' array to > allocated memory so

Re: [PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-03-02 Thread Mark Brown
On Fri, Feb 28, 2014 at 11:01:50AM +0100, Krzysztof Kozlowski wrote: Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID. Then copy the 'regulator_desc' array to allocated memory so the

[PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-02-28 Thread Krzysztof Kozlowski
Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID. Then copy the 'regulator_desc' array to allocated memory so the regulator core can use it. Additionally allocate array of

[PATCH 3/3] regulator: s2mps11: Copy supported regulators from initconst

2014-02-28 Thread Krzysztof Kozlowski
Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID. Then copy the 'regulator_desc' array to allocated memory so the regulator core can use it. Additionally allocate array of