summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-27 20:52:31 -0500
committerLee Jones <lee.jones@linaro.org>2018-10-23 08:58:34 +0100
commit75a11072c462e69b7b2392b181ec1752a05f620d (patch)
treeba52ea27d8c77f95f9356cd7d2e52ba780bdf279 /drivers/mfd
parentb04e68d16605dcde1c21b5df5f86a5372e53ae97 (diff)
downloadlinux-75a11072c462e69b7b2392b181ec1752a05f620d.tar.gz
linux-75a11072c462e69b7b2392b181ec1752a05f620d.tar.bz2
linux-75a11072c462e69b7b2392b181ec1752a05f620d.zip
mfd: max77620: 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. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/max77620.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max77620.c b/drivers/mfd/max77620.c
index b1700b5fa640..d8217366ed36 100644
--- a/drivers/mfd/max77620.c
+++ b/drivers/mfd/max77620.c
@@ -285,7 +285,7 @@ static int max77620_config_fps(struct max77620_chip *chip,
}
if (fps_id == MAX77620_FPS_COUNT) {
- dev_err(dev, "FPS node name %s is not valid\n", fps_np->name);
+ dev_err(dev, "FPS node name %pOFn is not valid\n", fps_np);
return -EINVAL;
}