MLK-20371: video: fbdev: adv7535: Fix coverity issues
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 20 Dec 2018 11:48:42 +0000 (13:48 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Thu, 2 May 2019 08:35:28 +0000 (11:35 +0300)
commit02ce319a0706799bf7ed5640d5f3728ee4c799d2
tree4556856e0778c6e355b615612ad0f83362586661
parentcde886652854204eaa4490fc771fbf2499fb8ca2
MLK-20371: video: fbdev: adv7535: Fix coverity issues

Fix structurally dead code reported by coverity. Assign the return value
to ret, instead of returning it so there will be a proper clean up.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
(cherry picked from commit 0d0ca80d965144e38e9f860fbaab76547573c0b6)
drivers/video/fbdev/mxc/adv7535.c