]> git.karo-electronics.de Git - linux-beck.git/commit
[media] DaVinci-VPBE: Return an error code only as a constant in vpbe_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 11 Oct 2016 11:43:25 +0000 (08:43 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:20:43 +0000 (12:20 -0200)
commit9d2fe9ae298d6144546e168d4b0067b2340ec246
treec5011e14fe2d8964da1916c15cf3723cd42d4078
parent135387513d1b0d35baa0433dfa9acc1fb9d97e40
[media] DaVinci-VPBE: Return an error code only as a constant in vpbe_probe()

* Return an error 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