i2c: move locking operations to their own struct
This makes it trivial to constify them, so do that. Signed-off-by: NPeter Rosin <peda@axentia.se> Acked-by: NDaniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Showing
想要评论请 注册 或 登录