From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
Cc: Linux I2C <i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org>
Subject: Re: [PATCH] i2c: Match dummy devices by type
Date: Mon, 5 May 2008 18:43:19 +0200 [thread overview]
Message-ID: <20080505184319.462b0ce6@hyperion.delvare> (raw)
In-Reply-To: <200805050833.55242.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
On Mon, 5 May 2008 08:33:54 -0700, David Brownell wrote:
> On Monday 05 May 2008, Jean Delvare wrote:
> > little reason to use these i2c clients to log messages.
>
> I'd assume the opposite, actually. Any i2c_client should
> be sensible to use for message logging.
I'd expect drivers to use the main i2c_client for that. i2c-core may
still use the dummy clients for debug messages, but it probably doesn't
matter. And nothing will break, the logs with just have "dummy" as the
client name.
At the moment, I can't foresee any problem important enough to require
improving the situation - especially since I have no clear idea what I
would do anyway. But if you can think of potential problems and you can
propose a solution, I'm listening of course :)
> > +MODULE_DEVICE_TABLE(i2c, dummy_id);
>
> Strike that. There's no reason to export this, is there?
> The only dummy devices are the ones drivers which tell th
> core about. We wouldn't *want* to try hotplugging them.
Totally correct, thanks for pointing this out. I thought I had already
removed it, but obviously not. Fixed.
--
Jean Delvare
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
next prev parent reply other threads:[~2008-05-05 16:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-05 9:28 [PATCH] i2c: Match dummy devices by type Jean Delvare
[not found] ` <20080505112858.5101c99a-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-05-05 15:33 ` David Brownell
[not found] ` <200805050833.55242.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2008-05-05 16:43 ` Jean Delvare [this message]
[not found] ` <20080505184319.462b0ce6-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-05-05 17:06 ` David Brownell
2008-05-05 17:31 ` Byron Bradley
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=20080505184319.462b0ce6@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@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