ARM: imx: pm-imx6: Return the error directly
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 24 Feb 2018 01:42:04 +0000 (22:42 -0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 28 Feb 2018 03:04:21 +0000 (11:04 +0800)
commit258172f96fcfa491c172312773ddd89d8504bc57
treeffa2334637369a1ac90d8f2c3634b372f25d3042
parent9b454d16e57d7c80b11c555fe8f79ff695fe3feb
ARM: imx: pm-imx6: Return the error directly

Simplify the error path by returning the error code directly rather
than jumping to a label.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/pm-imx6.c