Re: [PATCH 2/3] max17042_battery: Preserve properties outside of platform data

2012-03-14 Thread Karol Lewandowski
On 13.03.2012 20:21, Anton Vorontsov wrote: > On Wed, Feb 22, 2012 at 07:06:21PM +0100, Karol Lewandowski wrote: >> Add fields originally found in platform data back to max17042_chip, >> as the former data structure might be not available on device >> tree-based systems. >> >> This commit makes it

Re: [PATCH 2/3] max17042_battery: Preserve properties outside of platform data

2012-03-13 Thread Anton Vorontsov
On Wed, Feb 22, 2012 at 07:06:21PM +0100, Karol Lewandowski wrote: > Add fields originally found in platform data back to max17042_chip, > as the former data structure might be not available on device > tree-based systems. > > This commit makes it possible to safely declare platform data with > __

[PATCH 2/3] max17042_battery: Preserve properties outside of platform data

2012-02-22 Thread Karol Lewandowski
Add fields originally found in platform data back to max17042_chip, as the former data structure might be not available on device tree-based systems. This commit makes it possible to safely declare platform data with __initdata tag. Signed-off-by: Karol Lewandowski Signed-off-by: Kyungmin Park