Skip to content
Commit b8fbdc42 authored by Steffen Trumtrar's avatar Steffen Trumtrar Committed by Grant Likely
Browse files

of: add 'const' for of_parse_phandle parameter *np



The existing function does not change the passed device_node pointer. It is
only handed to of_get_property which itself takes a const struct device_node.

of_parse_phandle() can therefore take a const pointer as well.

Signed-off-by: default avatarSteffen Trumtrar <s.trumtrar@pengutronix.de>
[grant.likely: drop extraneous whitespace change]
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 4a92a385
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment