[PATCH v2 2/5] regulator: axp20x: prepare support for multiple AXP chip families

2014-05-26 Thread Boris BREZILLON
Rework the AXP20X_ macros to support the several chip families, so that each family can define it's own set of regulators, and regulator matches. Pass a match table to the axp20x_regulator_parse_dt function instead of statically using the axp20x match table. Signed-off-by: Boris BREZILLON ---

[PATCH v2 2/5] regulator: axp20x: prepare support for multiple AXP chip families

2014-05-26 Thread Boris BREZILLON
Rework the AXP20X_ macros to support the several chip families, so that each family can define it's own set of regulators, and regulator matches. Pass a match table to the axp20x_regulator_parse_dt function instead of statically using the axp20x match table. Signed-off-by: Boris BREZILLON