video: tc358767: optimize aux i2c bus checks
Move common check to tc_aux_i2c_xfer
Remove duplicated check from tc_aux_i2c_write

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
1 parent dd6ba39 commit 7d01689330394e7105d6e34b9c67cac2caf46ce2
@Andrey Gusakov Andrey Gusakov authored on 5 Jul 2017
Lucas Stach committed on 6 Jul 2017
Showing 1 changed file
View
drivers/video/tc358767.c