dm: core: Add tests for dev_read_alias_highest_id()
authorMichal Simek <[email protected]>
Thu, 31 Jan 2019 15:31:00 +0000 (16:31 +0100)
committerHeiko Schocher <[email protected]>
Fri, 8 Feb 2019 05:25:49 +0000 (06:25 +0100)
commita93eb577b9ae635ef6f631e8509d113c15f53530
treee582a46373e38593414d9944bc082342e71dd6ba
parent83e4c7e9ffa57fe4116967999c223c952a46a78a
dm: core: Add tests for dev_read_alias_highest_id()

It is checking the highest alias ID for eth, gpio, pci, i2c and error
code on non existing alias.

Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
test/dm/test-fdt.c