summaryrefslogtreecommitdiffstats
path: root/test/dm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-06 12:54:38 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:33 -0600
commit9f4629be8a9a06211e392ff0eccbff76603488b2 (patch)
treec2534dcdd45d65447028f8402685841be9886392 /test/dm
parent85aeda4a62775326d616c7bc5876b4bd00cb1a3e (diff)
downloadtalos-obmc-uboot-9f4629be8a9a06211e392ff0eccbff76603488b2.tar.gz
talos-obmc-uboot-9f4629be8a9a06211e392ff0eccbff76603488b2.zip
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>
Diffstat (limited to 'test/dm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud