[media] adv7180: Remove the unneeded 'err' label
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 16 Dec 2014 16:49:07 +0000 (13:49 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:15:58 +0000 (10:15 -0200)
commit7657e0647c47393bc61b4e398b4d791350820bd1
tree535e9f006eccb52fc17b199ebc7c1279b3dcca64
parent88ca3af44beb281979e3f037d167cc3fec68c9de
[media] adv7180: Remove the unneeded 'err' label

There is no need to jump to the 'err' label as we can simply return the error
code directly and make the code shorter.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7180.c