i2c: move locking operations to their own struct
authorPeter Rosin <peda@axentia.se>
Thu, 25 Aug 2016 21:07:01 +0000 (23:07 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 30 Aug 2016 20:56:14 +0000 (22:56 +0200)
commitd1ed7985b9a6b85ea38a330108c51ec83381c01b
treed97296b9891543fec4e2d1da28d154db8e8a6b04
parent718917b9875fcfa6450e7274d2727c4680c3591a
i2c: move locking operations to their own struct

This makes it trivial to constify them, so do that.

Signed-off-by: Peter Rosin <peda@axentia.se>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/gpu/drm/drm_dp_helper.c
drivers/i2c/i2c-core.c
drivers/i2c/i2c-mux.c
include/linux/i2c.h