Skip to content
Commit fe99c707 authored by David Rivshin's avatar David Rivshin Committed by Rob Herring
Browse files

of: add 'const' for of_property_*_string*() parameter '*np'



The of_property_{read,count,match}_string* family of functions never
modify the struct device_node pointer that is passed in, so there is no
reason for it to be non-const. Equivalent functions for all other types
already take a 'const struct device_node *np'.

Signed-off-by: default avatarDavid Rivshin <drivshin@allworx.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 815d74b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment