Re: [PATCH 2/2] i2c: move locking operations to their own struct

From: Peter Rosin
Date: Wed Aug 24 2016 - 04:02:48 EST


On 2016-08-23 23:16, Wolfram Sang wrote:
> On Fri, Jul 29, 2016 at 10:17:57AM +0200, Peter Rosin wrote:
>> This makes it trivial to constify them, so do that.
>>
>> Signed-off-by: Peter Rosin <peda@xxxxxxxxxx>
>
> Looks good. Could you rebase to i2c/for-next?

Right, no problem!

Cheers,
Peter

The following changes since commit 00f0ea70d2b82b7d7afeb1bdedc9169eb8ea6675:

eeprom: at24: check if the chip is functional in probe() (2016-08-22 08:19:58 +0200)

are available in the git repository at:

https://github.com/peda-r/i2c-mux.git i2c-lock-op

for you to fetch changes up to 4b42b8c2e3233671e49deee71458edb6737a38bf:

i2c: move locking operations to their own struct (2016-08-24 06:38:58 +0200)

----------------------------------------------------------------
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(-)