Name

of_alias_get_highest_id — get highest alias id for the given stem

Synopsis

int of_alias_get_highest_id (const char * stem);
 

Arguments

stem

Alias stem to be examined

Description

The function travels the lookup table to get the highest alias id for the given alias stem. The id of an alias is the trailing digits of the property name in /aliases.

Return

The highest alias id if found else -ENODEV.