From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
Cc: Linux-I2C <linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [patch 2.6.28-rc5] i2c: remove i2c_adapter.clist_lock
Date: Tue, 25 Nov 2008 10:12:03 +0100 [thread overview]
Message-ID: <20081125101203.58e3f032@hyperion.delvare> (raw)
In-Reply-To: <200811201438.08788.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
Hi David,
On Thu, 20 Nov 2008 14:38:08 -0800, David Brownell wrote:
> From: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
>
> Move list add/remove operations now protected by i2c_adapter.clist_lock
> into the driver model probe() and remove() calls, where driver model
> locking protects them. This is a minor code and data shrink.
>
> Note that the adapter "child list" is still protected inconsistently;
> this patch just simplifies locking, and makes this list more directly
> mirror the one maintained by the driver model. Removing this list may
> need to wait until the legacy I2C driver binding model is removed.
>
> Signed-off-by: David Brownell <dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
> ---
> drivers/i2c/i2c-core.c | 17 ++++-------------
> include/linux/i2c.h | 1 -
> 2 files changed, 4 insertions(+), 14 deletions(-)
I'm not sure I want to take this change at this point. Call me chicken,
but I seem to recall problems with legacy i2c clients last time we
tried to clean up this area. So I'd rather work on killing the legacy
binding model now, and once this is done, we can look into i2c-core
cleanups again.
The list of i2c drivers that still need to be converted can be found
here:
http://jdelvare.pck.nerim.net/linux/legacy_i2c_driver.list
Drivers that are neither marked "*" (done) nor "-" (deleted) are left
to convert.
Thanks,
--
Jean Delvare
next prev parent reply other threads:[~2008-11-25 9:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 22:38 [patch 2.6.28-rc5] i2c: remove i2c_adapter.clist_lock David Brownell
[not found] ` <200811201438.08788.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-11-25 9:12 ` Jean Delvare [this message]
[not found] ` <20081125101203.58e3f032-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-11-25 10:24 ` David Brownell
[not found] ` <200811250224.01610.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-11-25 11:01 ` Jean Delvare
[not found] ` <20081125120100.6581f394-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-11-25 11:27 ` David Brownell
[not found] ` <200811250327.08464.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-11-25 11:54 ` Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081125101203.58e3f032@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox