i2c: rcar_i2c: Move FSDA check to rcar_i2c_recover
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>
Thu, 7 Mar 2019 18:00:55 +0000 (18:00 +0000)
committerHeiko Schocher <hs@denx.de>
Fri, 8 Mar 2019 04:53:40 +0000 (05:53 +0100)
commitc64eb297e7b8cc49ff9ba047ee437e093f2d0446
treec2e07ce2dd76e25d123461ef492ffe3d973b9e0b
parent7c8f821e5dde39dd507925168cd38b1e3d9d46d5
i2c: rcar_i2c: Move FSDA check to rcar_i2c_recover

Cosmetic change.  Any call to the recover function would need to do the
same check afterwards, so it's sensible to make it part of the function.

Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com>
drivers/i2c/rcar_i2c.c