]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: sh_mobile: shorten exit of xfer routine
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 2 Nov 2017 12:47:31 +0000 (13:47 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 27 Nov 2017 17:53:12 +0000 (18:53 +0100)
commita4d16493be406273320f152814c33ccdb17dcf91
treec43a9a937d7398a5a4a15e801c9ae02ac1cc3e6e
parent832a522a3ef5e96b517163ee7d4c249545d88626
i2c: sh_mobile: shorten exit of xfer routine

We can use the ternary operator for easier reading.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c