mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
b04e68d166
commit
75a11072c4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue