MLK-16536-2 video: fbdev: dcss: refine 'esize' obtainment
authorFancy Fang <chen.fang@nxp.com>
Tue, 19 Sep 2017 10:56:38 +0000 (18:56 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:40 +0000 (15:38 -0500)
commit514c060202136b572b3ad7405d91a5793f342a2e
tree646ec7676eabb0fb480e384845340d087852899e
parent12d0306fd92e9b17be1ddd1f6e658fd6e9102e1e
MLK-16536-2 video: fbdev: dcss: refine 'esize' obtainment

The 'esize' is better be got by 'kfifo_esize()'
instead of using 'sizeof' to make the code more
compatible and easier to unserstand.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
drivers/video/fbdev/mxc/imx_dcss.c