On 6 July 2015 at 12:54, Simon Glass <s...@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 <s...@chromium.org> > --- > > drivers/core/syscon-uclass.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-)
Applied to u-boot-dm. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot