From: "Peter Hüwe" <PeterHuewe@gmx.de>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 1/3] include/linux/i2c.h: introduce macros for i2c_msg initialization
Date: Mon, 01 Oct 2012 22:47:27 +0000 [thread overview]
Message-ID: <201210020047.27541.PeterHuewe@gmx.de> (raw)
In-Reply-To: <1348990388-7413-3-git-send-email-Julia.Lawall@lip6.fr>
Am Dienstag, 2. Oktober 2012, 00:24:49 schrieb Ryan Mallon:
> On 30/09/12 17:33, Julia Lawall wrote:
> > From: Julia Lawall <Julia.Lawall@lip6.fr>
> >
> > This patch introduces some macros for describing how an i2c_msg is being
> > initialized. There are three macros: I2C_MSG_READ, for a read message,
> > I2C_MSG_WRITE, for a write message, and I2C_MSG_OP, for some other kind
> > of message, which is expected to be very rarely used.
> >
> > Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cool.
Especially as there is no i2c flag for write this makes code more readable.
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
prev parent reply other threads:[~2012-10-01 22:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-30 7:33 [PATCH 1/3] include/linux/i2c.h: introduce macros for i2c_msg initialization Julia Lawall
2012-10-01 22:24 ` Ryan Mallon
2012-10-01 22:47 ` Peter Hüwe [this message]
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=201210020047.27541.PeterHuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=kernel-janitors@vger.kernel.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