Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check the class flags before allocating the temporary i2c_client structure, to avoid allocating it when we don't need it. Also optimize the inner loop a bit. Signed-off-by: Jean Delvare <[email protected]> Cc: Jacob Pan <[email protected]>
- Loading branch information