Re: [PATCH v5 5/5] i2c:ocores: checkpatch fixes

From: Wolfram Sang
Date: Mon Feb 11 2019 - 11:19:47 EST



> > - oc_setreg(i2c, OCI2C_CONTROL, ctrl & ~(OCI2C_CTRL_EN|OCI2C_CTRL_IEN));
> > + ctrl = oc_getreg(i2c, OCI2C_CONTROL);
>
> There's a pointless double oc_getreg(i2c, OCI2C_CONTROL).

In case you need to resend, please update $subject of all patches to
have a space after "i2c:"

Attachment: signature.asc
Description: PGP signature