Commit e12e643c authored by Rob Herring's avatar Rob Herring Committed by Kalle Valo

ath6kl: convert to using %pOFn instead of device_node.name

In preparation to remove the node name pointer from struct device_node,
convert printf users to use the %pOFn format specifier.

Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 828853ac
...@@ -710,8 +710,8 @@ static bool check_device_tree(struct ath6kl *ar) ...@@ -710,8 +710,8 @@ static bool check_device_tree(struct ath6kl *ar)
for_each_compatible_node(node, NULL, "atheros,ath6kl") { for_each_compatible_node(node, NULL, "atheros,ath6kl") {
board_id = of_get_property(node, board_id_prop, NULL); board_id = of_get_property(node, board_id_prop, NULL);
if (board_id == NULL) { if (board_id == NULL) {
ath6kl_warn("No \"%s\" property on %s node.\n", ath6kl_warn("No \"%s\" property on %pOFn node.\n",
board_id_prop, node->name); board_id_prop, node);
continue; continue;
} }
snprintf(board_filename, sizeof(board_filename), snprintf(board_filename, sizeof(board_filename),
......
Markdown is supported
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