diff options
author | Rob Herring <robh@kernel.org> | 2017-07-19 00:43:12 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-01 09:42:52 +0300 |
commit | b6a945ae03fd3962b51b27ecedf4f1dd7e034229 (patch) | |
tree | 1462bec56b191c6c89e641a6c442798b42eec908 /drivers/macintosh/windfarm_lm87_sensor.c | |
parent | 859420e3155d8192b31a93cd92d32c85151bf8da (diff) | |
download | linux-b6a945ae03fd3962b51b27ecedf4f1dd7e034229.tar.xz |
macintosh: Convert to using %pOF instead of full_name
Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.
Signed-off-by: Rob Herring <robh@kernel.org>
[mpe: Also convert the two cases inside #if 0]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh/windfarm_lm87_sensor.c')
-rw-r--r-- | drivers/macintosh/windfarm_lm87_sensor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/windfarm_lm87_sensor.c b/drivers/macintosh/windfarm_lm87_sensor.c index c071aab79dd1..913c4bfeef94 100644 --- a/drivers/macintosh/windfarm_lm87_sensor.c +++ b/drivers/macintosh/windfarm_lm87_sensor.c @@ -126,8 +126,8 @@ static int wf_lm87_probe(struct i2c_client *client, } } if (!name) { - pr_warning("wf_lm87: Unsupported sensor %s\n", - client->dev.of_node->full_name); + pr_warning("wf_lm87: Unsupported sensor %pOF\n", + client->dev.of_node); return -ENODEV; } |