Home
last modified time | relevance | path

Searched hist:"9 f4629be8a9a06211e392ff0eccbff76603488b2" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/core/
H A Dsyscon-uclass.c9f4629be8a9a06211e392ff0eccbff76603488b2 Mon Jul 06 18:54:38 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add device checking to syscon_get_regmap()

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>