[media] DaVinci-VPBE: Return the success indication only as a constant in vpbe_set_mode()
commitca7948aa85290f55b8929a8c028352913167bca3
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 07:51:29 +0000 (12 04:51 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:38:53 +0000 (16 12:38 -0200)
tree86c72c6c1f704a13c258c75c860f30152c53133d
parent9d2fe9ae298d6144546e168d4b0067b2340ec246
[media] DaVinci-VPBE: Return the success indication only as a constant in vpbe_set_mode()

* Return a success code without storing it in an intermediate variable.

* Delete the local variable "ret" which became unnecessary with
  this refactoring.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpbe.c