dm: core: Introduce dev_read_alias_highest_id()
authorMichal Simek <[email protected]>
Thu, 31 Jan 2019 15:30:59 +0000 (16:30 +0100)
committerHeiko Schocher <[email protected]>
Fri, 8 Feb 2019 05:25:32 +0000 (06:25 +0100)
commit83e4c7e9ffa57fe4116967999c223c952a46a78a
treee02bb6b75e64b116d0d9011a1762e033000004ea
parent003c9dc89176cacc9996f737d08490805e29582e
dm: core: Introduce dev_read_alias_highest_id()

It is wrapper for calling of_alias_get_highest_id() when live tree is
enabled and fdtdec_get_alias_highest_id() if not.

Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/core/read.c
include/dm/read.h