OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:49:57 +0000 (14:49 +0100)
commitb3e4010f18cda4088066d2e2cea3e73379d88281
tree40c0f1da199570066e63a68ee9a51e7d4d35a1b0
parenta2880a917995171223f9988124b6de722ffa695b
of: Fix property name in of_node_get_device_type

[ Upstream commit 5d5a0ab1a7918fce5ca5c0fb1871a3e2000f85de ]

Commit 0413bedabc88 ("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: 0413bedabc88 ("of: Add device_type access helper functions")
Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/of.h