mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
regulator:pfuze100: fix build warning and correct the binding doc
fix building warning and correct the binding doc Signed-off-by: Robin Gong <b38343@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
3784b6d64d
commit
205c97bcb8
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ PFUZE100 family of regulators
|
|||
Required properties:
|
||||
- compatible: "fsl,pfuze100"
|
||||
- reg: I2C slave address
|
||||
|
||||
Required child node:
|
||||
- regulators: This is the list of child nodes that specify the regulator
|
||||
initialization data for defined regulators. Please refer to below doc
|
||||
Documentation/devicetree/bindings/regulator/regulator.txt.
|
||||
|
|
|
@ -295,7 +295,7 @@ static inline struct device_node *match_of_node(int index)
|
|||
#else
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue