drm: Convert to using %pOFn instead of device_node.name
authorRob Herring <robh@kernel.org>
Fri, 28 Sep 2018 22:50:44 +0000 (17:50 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Oct 2018 08:16:39 +0000 (10:16 +0200)
commitf384d7d514d1f6d5d0a485e718fdbf37bf438a35
treea2d739db825029293abbe34dbd0e57da482ea42e
parenta0d4d42cb5854400baa47bf63d9aae65fa9f484e
drm: 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.

For drm_modes.c, the full node path is already printed out, so printing
just the node name a 2nd time is redundant and can be removed.

Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Acked-by: Rob Clark <robdclark@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180928225044.20132-1-robh@kernel.org
drivers/gpu/drm/drm_modes.c
drivers/gpu/drm/msm/hdmi/hdmi.c