diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-29 03:50:03 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 17:58:18 +0300 |
commit | a2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64 (patch) | |
tree | 3b1e2e1d33b9e0bc9120be2cee4c6ca966876857 /drivers/power | |
parent | 0de1b07406d709c3951dbb1a69ca196d80bd516d (diff) | |
download | u-boot-a2703ce10cfcbe6a82ec8ed9ec10df2aeea08e64.tar.xz |
dm: Remove uses of device_bind_offset()
This function is not needed since the standard device_bind() can be used
instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/regulator/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index a6f78d9670..d431102462 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -11,7 +11,7 @@ config DM_REGULATOR - 'include/power/regulator.h' - 'drivers/power/pmic/pmic-uclass.c' - 'drivers/power/pmic/regulator-uclass.c' - It's important to call the device_bind_offset() with the proper node offset, + It's important to call the device_bind() with the proper node offset, when binding the regulator devices. The pmic_bind_childs() can be used for this purpose if PMIC I/O driver is implemented or dm_scan_fdt_dev() otherwise. Detailed information can be found in the header file. |