firmware: arm_scmi: simplify exit path by returning on error
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 9 May 2018 16:52:06 +0000 (17:52 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 10 May 2018 09:52:00 +0000 (10:52 +0100)
commit632de8f542bcd44c756637da0e7d824e7129e496
treef9cad09e2696d24b39d261e790747e74939d370b
parentec42ac6d1ea3118210c265ea532b2ab66e18098d
firmware: arm_scmi: simplify exit path by returning on error

Yet another nasty indentation left out during code restructuring. It's
must simpler to return on error instead of having unnecessary indentation.

Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c