Skip to content
Snippets Groups Projects
Commit ecf5f077 authored by Timur Tabi's avatar Timur Tabi Committed by Wolfgang Denk
Browse files

i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions


All implementations of the functions i2c_reg_read() and
i2c_reg_write() are identical. We can save space and simplify the
code by converting these functions into inlines and putting them in
i2c.h.

Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Acked-By: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
parent e39cd81c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment