Commit 205c97bc authored by Robin Gong's avatar Robin Gong Committed by Mark Brown

regulator:pfuze100: fix build warning and correct the binding doc

fix building warning and correct the binding doc
Signed-off-by: default avatarRobin Gong <b38343@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 3784b6d6
...@@ -3,6 +3,8 @@ PFUZE100 family of regulators ...@@ -3,6 +3,8 @@ PFUZE100 family of regulators
Required properties: Required properties:
- compatible: "fsl,pfuze100" - compatible: "fsl,pfuze100"
- reg: I2C slave address - reg: I2C slave address
Required child node:
- regulators: This is the list of child nodes that specify the regulator - regulators: This is the list of child nodes that specify the regulator
initialization data for defined regulators. Please refer to below doc initialization data for defined regulators. Please refer to below doc
Documentation/devicetree/bindings/regulator/regulator.txt. Documentation/devicetree/bindings/regulator/regulator.txt.
......
...@@ -295,7 +295,7 @@ static inline struct device_node *match_of_node(int index) ...@@ -295,7 +295,7 @@ static inline struct device_node *match_of_node(int index)
#else #else
static int pfuze_parse_regulators_dt(struct pfuze_chip *chip) static int pfuze_parse_regulators_dt(struct pfuze_chip *chip)
{ {
return NULL; return 0;
} }
static inline struct regulator_init_data *match_init_data(int index) static inline struct regulator_init_data *match_init_data(int index)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment