Re: [PATCH 3/3] mfd: max8997: move regmap handling to function drivers

2014-03-11 Thread Krzysztof Kozlowski
On Tue, 2014-03-11 at 14:58 +0100, Robert Baldyga wrote: > This patch moves code creating new i2c clients and regmaps to function > drivers which uses them. It allow to avoid creating this instances when > intividual function drivers are not enabled. s/which uses/which use/ s/It allow/ It allows/

[PATCH 3/3] mfd: max8997: move regmap handling to function drivers

2014-03-11 Thread Robert Baldyga
This patch moves code creating new i2c clients and regmaps to function drivers which uses them. It allow to avoid creating this instances when intividual function drivers are not enabled. Signed-off-by: Robert Baldyga --- drivers/extcon/extcon-max8997.c | 118 +++--