media: platform: sti: remove bdisp_dbg_declare() and hva_dbg_declare()
authorYangtao Li <tiny.windzz@gmail.com>
Wed, 12 Dec 2018 16:27:03 +0000 (14:27 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 21 Jan 2019 17:41:17 +0000 (15:41 -0200)
commit5e22c19f7e66672966281ea6f557100805c222bc
tree474c7e747bedf19d316c41938ab11d0546797944
parent78a9f4a39bf43d41f0d91dc3cdbc1fdb752fc416
media: platform: sti: remove bdisp_dbg_declare() and hva_dbg_declare()

We already have the DEFINE_SHOW_ATTRIBUTE. There is no need to define
bdisp_dbg_declare and hva_dbg_declare, so remove them. Also use
DEFINE_SHOW_ATTRIBUTE to simplify some code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/sti/bdisp/bdisp-debug.c
drivers/media/platform/sti/hva/hva-debugfs.c