Message ID | 1645122930-23863-1-git-send-email-quic_khsieh@quicinc.com |
---|---|
Headers | show |
Series | drm/msm/dp: replace DRM_DEBUG_DP with drm_dbg_dp | expand |
On 2/17/2022 11:36 AM, Stephen Boyd wrote: > Quoting Kuogee Hsieh (2022-02-17 10:35:30) >> Since DRM_DEBUG_DP is deprecated in favor of drm_dbg_dp(NULL, ...), >> this patch replace all DRM_DEBUG_DP with drm_dbg_dp(). >> >> Changes in v4: >> -- replace (strucr drm_dev *)NULL with drm_dev > Why can't the platform device be used? #define drm_dbg_dp(drm, fmt, ...) \ drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DP, fmt, ##__VA_ARGS__) it looks for (drm)->dev (pointer) struct platform_device { const char *name; int id; bool id_auto; struct device dev <== not an pointer here