On Tue, Dec 4, 2018 at 10:59 PM Sean Paul <sean@xxxxxxxxxx> wrote: > > On Sat, Dec 01, 2018 at 10:19:11PM -0500, Yangtao Li wrote: > > We already have the DEFINE_SHOW_ATTRIBUTE.There is no need to define > > such a macro separately,so remove DEFINE_DPU_DEBUGFS_SEQ_FOPS. > > Also use DEFINE_SHOW_ATTRIBUTE to simplify some code. > > > > Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx> > > --- > > drivers/gpu/drm/armada/armada_debugfs.c | 21 ++++-------- > > drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c | 14 +------- > > drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 33 +++--------------- > > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 17 ++------- > > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 36 ++++---------------- > > For the dpu portion: > Acked-by: Sean Paul <sean@xxxxxxxxxx> ping......