summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rtc
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2012-12-18 11:32:03 +0100
committerGrant Likely <grant.likely@secretlab.ca>2013-02-06 11:06:36 +0000
commitc0a05bf0182efdf7cd1fd8aa327e7a602360b67e (patch)
tree09776279dbef4d91b333e0a65542ae791f66da54 /Documentation/devicetree/bindings/rtc
parentced4eec900850627409d7ff566b009471162b56b (diff)
downloadblackbird-obmc-linux-c0a05bf0182efdf7cd1fd8aa327e7a602360b67e.tar.gz
blackbird-obmc-linux-c0a05bf0182efdf7cd1fd8aa327e7a602360b67e.zip
of: add 'const' to of_node_full_name parameter
As the function just returns the np->full_name or the string "<no-node>", the passed device_node pointer is not changed in any way. The passed parameter can therefore be a const pointer. Also, fix the following error from checkpatch.pl: ERROR: "foo* bar" should be "foo *bar" +static inline const char* of_node_full_name(const struct device_node *np) Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree/bindings/rtc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud