From: Luis Oliveira <Luis.Oliveira@synopsys.com>
To: Wolfram Sang <wsa@the-dreams.de>,
Luis Oliveira <Luis.Oliveira@synopsys.com>
Cc: <robh+dt@kernel.org>, <mark.rutland@arm.com>,
<jarkko.nikula@linux.intel.com>,
<andriy.shevchenko@linux.intel.com>,
<mika.westerberg@linux.intel.com>, <linux-i2c@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<vz@mleia.com>, <Ramiro.Oliveira@synopsys.com>,
<Joao.Pinto@synopsys.com>, <CARLOS.PALMINHA@synopsys.com>
Subject: Re: [PATCH v3] i2c: core: helper function to detect slave mode
Date: Thu, 26 Jan 2017 11:49:59 +0000 [thread overview]
Message-ID: <5c2049cc-05aa-1f5b-65af-4df1147ed56a@synopsys.com> (raw)
In-Reply-To: <20170125204537.i66nykln4fkxqryy@ninjato>
On 25-Jan-17 20:45, Wolfram Sang wrote:
>
>> + * i2c_slave_mode_detect - detect operation mode
>
> I'd rather name it 'i2c_detect_slave_mode'
I will do a V4 with this change.
>
>> + * @dev: The device owning the bus
>> + *
>> + * This checks the device nodes for an I2C slave by checking the address
>> + * used.
>> + *
>> + * Returns true if an I2C slave is detected, otherwise returns false.
>
> Both paragraphs could be a little more explicit. It is not about
> "slaves" or "clients" in general, but about those entries which make the
> current master act as a slave, too.
>
Ok, I see your point of view. I will reword it also.
> The code looks good to me, so we are close to go!
>
> Thanks,
>
> Wolfram
>
Great! Thanks
prev parent reply other threads:[~2017-01-26 11:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-17 14:33 Luis Oliveira
2017-01-25 20:45 ` Wolfram Sang
2017-01-25 20:50 ` Andy Shevchenko
2017-01-25 21:01 ` Wolfram Sang
2017-01-25 21:29 ` Andy Shevchenko
2017-01-26 11:49 ` Luis Oliveira [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=5c2049cc-05aa-1f5b-65af-4df1147ed56a@synopsys.com \
--to=luis.oliveira@synopsys.com \
--cc=CARLOS.PALMINHA@synopsys.com \
--cc=Joao.Pinto@synopsys.com \
--cc=Ramiro.Oliveira@synopsys.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=devicetree@vger.kernel.org \
--cc=jarkko.nikula@linux.intel.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mika.westerberg@linux.intel.com \
--cc=robh+dt@kernel.org \
--cc=vz@mleia.com \
--cc=wsa@the-dreams.de \
/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
all inboxes | Powered by JetHome®