lkml.org 
[lkml]   [2016]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] i2c: move adapter locking ops to struct, constify
Date
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

\
 
 \ /
  Last update: 2016-07-29 21:41    [W:0.086 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site