• Suraj Upadhyay's avatar
    drm: core: Convert device logging to drm_* functions. · 6d45fff5
    Suraj Upadhyay authored
    Convert device logging with dev_* functions into drm_* functions.
    
    The patch has been generated with the coccinelle script below.
    The script focuses on instances of dev_* functions where the drm device
    context is clearly visible in its arguments.
    
    @@expression E1; expression list E2; @@
    -dev_warn(E1->dev, E2)
    +drm_warn(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_info(E1->dev, E2)
    +drm_info(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_err(E1->dev, E2)
    +drm_err(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_info_once(E1->dev, E2)
    +drm_info_once(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_notice_once(E1->dev, E2)
    +drm_notice_once(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_warn_once(E1->dev, E2)
    +drm_warn_once(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_err_once(E1->dev, E2)
    +drm_err_once(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_err_ratelimited(E1->dev, E2)
    +drm_err_ratelimited(E1, E2)
    
    @@expression E1; expression list E2; @@
    -dev_dbg(E1->dev, E2)
    +drm_dbg(E1, E2)
    Signed-off-by: default avatarSuraj Upadhyay <usuraj35@gmail.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200718150955.GA23103@blackclown
    6d45fff5
drm_mipi_dbi.c 32.5 KB