mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
pwm: 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 <[email protected]> Cc: Thierry Reding <[email protected]> Cc: Carlo Caione <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Acked-by: Neil Armstrong <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
parent
5771a8c088
commit
36af66a790
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ static int meson_pwm_init_channels(struct meson_pwm *meson,
|
|||
for (i = 0; i < meson->chip.npwm; i++) {
|
||||
struct meson_pwm_channel *channel = &channels[i];
|
||||
|
||||
snprintf(name, sizeof(name), "%s#mux%u", np->full_name, i);
|
||||
snprintf(name, sizeof(name), "%pOF#mux%u", np, i);
|
||||
|
||||
init.name = name;
|
||||
init.ops = &clk_mux_ops;
|
||||
|
|
|
|||
Loading…
Reference in a new issue