This allows the locking ops to be moved to .rodata, which is generally desireable. It also feels good to change all ops with one assignment. Cheers, Peter Peter Rosin (2): i2c: add i2c_trylock_bus wrapper, use it i2c: move locking operations to their own struct drivers/i2c/i2c-core.c | 15 +++++++++------ drivers/i2c/i2c-mux.c | 29 ++++++++++++++++++----------- include/linux/i2c.h | 37 +++++++++++++++++++++++++++++++------ 3 files changed, 58 insertions(+), 23 deletions(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html