[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1469780277-31085-1-git-send-email-peda@axentia.se>
Date: Fri, 29 Jul 2016 10:17:55 +0200
From: Peter Rosin <peda@...ntia.se>
To: <linux-kernel@...r.kernel.org>
CC: Peter Rosin <peda@...ntia.se>, Wolfram Sang <wsa@...-dreams.de>,
<linux-i2c@...r.kernel.org>
Subject: [PATCH 0/2] i2c: move adapter locking ops to struct, constify
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
Powered by blists - more mailing lists