
18 Jul
2015
18 Jul
'15
1:59 a.m.
On 6 July 2015 at 12:54, Simon Glass sjg@chromium.org wrote:
This function can only handle a syscon device. It is possible that someone will make a mistake, so add a check for this.
Also we should return -ENODEV when a device cannot be found, so update the syscon_get_regmap_by_driver_data() to follow this convention.
Signed-off-by: Simon Glass sjg@chromium.org
drivers/core/syscon-uclass.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Applied to u-boot-dm.