From: Olof Johansson <olof@lixom.net>
To: Robin Schroer <sulamiification@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/platform/chrome: coding style fixes
Date: Thu, 10 Jul 2014 09:38:29 -0700 [thread overview]
Message-ID: <20140710163829.GA4378@quad.lixom.net> (raw)
In-Reply-To: <20140529184507.GA10635@shodan.fritz.box>
On Thu, May 29, 2014 at 08:45:07PM +0200, Robin Schroer wrote:
> added blank lines after declarations in some places
>
> Signed-off-by: Robin Schroer <sulamiification@gmail.com>
> ---
> drivers/platform/chrome/chromeos_laptop.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
> index 7f1a2e2..0e2785a 100644
> --- a/drivers/platform/chrome/chromeos_laptop.c
> +++ b/drivers/platform/chrome/chromeos_laptop.c
> @@ -177,6 +177,7 @@ static int __find_i2c_adap(struct device *dev, void *data)
> const char *name = data;
> static const char *prefix = "i2c-";
> struct i2c_adapter *adapter;
> +
> if (strncmp(dev_name(dev), prefix, strlen(prefix)) != 0)
> return 0;
> adapter = to_i2c_adapter(dev);
> @@ -231,6 +232,7 @@ static struct i2c_client *add_i2c_device(const char *name,
> struct i2c_board_info *info)
> {
> const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END };
> +
> return __add_probed_i2c_device(name,
> find_i2c_adapter_num(type),
> info,
> @@ -464,6 +466,7 @@ static struct platform_driver cros_platform_driver = {
> static int __init chromeos_laptop_init(void)
> {
> int ret;
> +
> if (!dmi_check_system(chromeos_laptop_dmi_table)) {
> pr_debug("%s unsupported system.\n", __func__);
> return -ENODEV;
> --
> 1.9.3
>
Applied, thanks.
-Olof
prev parent reply other threads:[~2014-07-10 16:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 18:45 Robin Schroer
2014-07-10 16:38 ` Olof Johansson [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=20140710163829.GA4378@quad.lixom.net \
--to=olof@lixom.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sulamiification@gmail.com \
/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
Powered by JetHome