diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-02-19 06:46:14 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-19 08:15:02 +0400 |
commit | 3e01c75a45740ef4a0ec657d7ca25ad0aa2f50e0 (patch) | |
tree | d5f253505d89af9e1928c94547cd45bcc7ae017d /drivers/scsi/scsi_transport_srp.c | |
parent | d7857c429475677a6a42d0dce7f870d6241edd41 (diff) | |
download | linux-3e01c75a45740ef4a0ec657d7ca25ad0aa2f50e0.tar.xz |
pfuze100-regulator: Fix of_node_get() parameter
Since commit d7857c42 (regulator: pfuze100: Use of_get_child_by_name) we get
the following probe failure:
pfuze100-regulator 1-0008: Full layer: 1, Metal layer: 0
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: regulators node not found
pfuze100-regulator: probe of 1-0008 failed with error -22
Now that of_get_child_by_name() is used we should adjust the device_node pointer
'np' to not get the parent node anymore.
Suggested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/scsi/scsi_transport_srp.c')
0 files changed, 0 insertions, 0 deletions