]> git.baikalelectronics.ru Git - kernel.git/commit
of: Fix property name in of_node_get_device_type
authorRob Herring <robh@kernel.org>
Mon, 1 Oct 2018 15:54:51 +0000 (10:54 -0500)
committerRob Herring <robh@kernel.org>
Thu, 4 Oct 2018 19:16:01 +0000 (14:16 -0500)
commitd708ffff4129e4a2e6d23b1080407bdc65afc168
tree47d1b03f7e6baab44de3cd43970ee446d863b6fb
parent283159ba8782acc6ad9c598d7d75461f5386defa
of: Fix property name in of_node_get_device_type

Commit da99777d1948 ("of: Add device_type access helper functions")
added a new helper not yet used in preparation for some treewide clean
up of accesses to 'device_type' properties. Unfortunately, there's an
error and 'type' was used for the property name. Fix this.

Fixes: da99777d1948 ("of: Add device_type access helper functions")
Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of.h