]> git.karo-electronics.de Git - linux-beck.git/commit
[media] v4l: vsp1: video: Fix coding style
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 Feb 2016 02:28:38 +0000 (23:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 20:25:17 +0000 (17:25 -0300)
commit6b1446bc7c89025e07037f9c238a60b6fbe3c207
treecb68a5d7d1f0ae17825842498892ed83d748501d
parentc1741af7d1d0f2f9d748939678c4d4cc33783069
[media] v4l: vsp1: video: Fix coding style

Commit 54b5a749b4f3 ("[media] v4l: vsp1: Use media entity enumeration
interface") wasn't aligned with the driver coding style. Fix it by
renaming the rval variable to ret.

Furthermore shorten lines by accessing the media_device instance in a
more straightforward fashion.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_video.c