fbdev: omap2: omapfb: convert to DEFINE_SHOW_ATTRIBUTE
authorYangtao Li <tiny.windzz@gmail.com>
Thu, 20 Dec 2018 18:13:08 +0000 (19:13 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 20 Dec 2018 18:13:08 +0000 (19:13 +0100)
commit452f2d4934d23f32cd9246bc52cf2c0b80560e2f
tree46c237e96a279e5c3eaabb75e27335ed3d1ed452
parente0f5628bf2c163a815bb728fa7899e8dc0a4a82c
fbdev: omap2: omapfb: convert to DEFINE_SHOW_ATTRIBUTE

Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/omap2/omapfb/dss/core.c