Name

of_device_is_available — check if a device is available for use

Synopsis

bool of_device_is_available (const struct device_node * device);
 

Arguments

device

Pointer to node to be checked

Description

Check the value of the status property of node device to determine whether the node is available for use.

Return

True if the status property is absent or set to okay or ok, false otherwise