]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: core: remove level of indentation in i2c_transfer
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 20 Sep 2018 16:14:21 +0000 (18:14 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 5 Oct 2018 16:13:37 +0000 (18:13 +0200)
commitcf8b9f26af37f8e6c56f590695e6afb07942cb19
tree4c49e272d64de08da146af9eb9714ae1f681a422
parent5f9672092b64c2a38e2d476b6a76d72a4cb5f3d0
i2c: core: remove level of indentation in i2c_transfer

Using the common kernel pattern to bail out at the beginning if some
conditions are not met, we can save a level of indentation. No
functional change.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c