[media] tuners: Refactoring for m88rs6000t_sleep()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 28 Dec 2015 14:20:45 +0000 (12:20 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:15:38 +0000 (15:15 -0200)
commit2050d14c6ea23ea7b50b5cc7d05dbf645705cf70
tree01c6cadd16b86b0115c7409c676343c0c7e51665
parentc2e5c951c2d10536a9f17647f3440e5f9f639d8b
[media] tuners: Refactoring for m88rs6000t_sleep()

This issue was detected by using the Coccinelle software.

1. Let us return directly if a call of the regmap_write() function failed.

2. Delete the jump label "err" then.

3. Return zero as a constant at the end.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/m88rs6000t.c