All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] i2c: move adapter locking ops to struct, constify
@ 2016-07-29  8:17 ` Peter Rosin
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Rosin @ 2016-07-29  8:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: Peter Rosin, Wolfram Sang, linux-i2c

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-08-25 16:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29  8:17 [PATCH 0/2] i2c: move adapter locking ops to struct, constify Peter Rosin
2016-07-29  8:17 ` Peter Rosin
2016-07-29  8:17 ` [PATCH 1/2] i2c: add i2c_trylock_bus wrapper, use it Peter Rosin
2016-07-29  8:17   ` Peter Rosin
2016-08-25 16:04   ` Wolfram Sang
2016-07-29  8:17 ` [PATCH 2/2] i2c: move locking operations to their own struct Peter Rosin
2016-07-29  8:17   ` Peter Rosin
2016-08-23 21:16   ` Wolfram Sang
2016-08-24  7:47     ` Peter Rosin
2016-08-24  7:47       ` Peter Rosin
2016-08-25 16:05   ` Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.