dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macro
authorYangtao Li <tiny.windzz@gmail.com>
Fri, 30 Nov 2018 16:11:01 +0000 (11:11 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 24 Dec 2018 10:17:04 +0000 (11:17 +0100)
commit2674305a1f5a5356e3c4488d90aab2654142ee99
tree9d2f5e53583aa9ca03731b5144fdeefb7578cd68
parent70bce993a7aa57c00798d8f13ebbbddd81cbbef9
dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macro

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181130161101.3413-1-tiny.windzz@gmail.com
drivers/dma-buf/dma-buf.c
drivers/dma-buf/sync_debug.c