From: Lee Jones <lee.jones@linaro.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
linux-kernel@vger.kernel.org,
Wang Shilong <wangshilong1991@gmail.com>
Subject: Re: [PATCH v3] mfd: add STw481x driver
Date: Mon, 23 Sep 2013 09:05:32 +0100 [thread overview]
Message-ID: <20130923080532.GD2185@lee--X1> (raw)
In-Reply-To: <1379879358-7297-1-git-send-email-linus.walleij@linaro.org>
> This adds a driver for the STw481x PMICs found in the Nomadik
> family of platforms. This one uses pure device tree probing.
> Print some of the OTP registers on boot and register a regulator
> MFD child.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ChangeLog v2->v3:
> - Instead of using "dummy" as the unused device ID, use "stw481x".
> ChangeLog v1->v2:
> - Fix remnant checkpatch errors.
> - #define some more registers to make things clear.
> - Document the power control register access function.
> - Don't free devm_*-allocated devices.
> - Use module_i2c_driver() macro.
> ---
> drivers/mfd/Kconfig | 10 ++
> drivers/mfd/Makefile | 1 +
> drivers/mfd/stw481x.c | 250 ++++++++++++++++++++++++++++++++++++++++++++
> include/linux/mfd/stw481x.h | 56 ++++++++++
> 4 files changed, 317 insertions(+)
> create mode 100644 drivers/mfd/stw481x.c
> create mode 100644 include/linux/mfd/stw481x.h
Nit:
> +static const struct i2c_device_id stw481x_id[] = {
> + { "stw481x", 0 },
> + { }
Where we have '{ }'.
> +};
> +
> +static const struct of_device_id stw481x_match[] = {
> + { .compatible = "st,stw4810", },
> + { .compatible = "st,stw4811", },
> + {},
And just down here the same function is provided with '{},'.
I'm happy to change it myself, rather that asking you to resubmit.
Which to you prefer?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2013-09-23 8:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-22 19:49 [PATCH v3] mfd: add STw481x driver Linus Walleij
2013-09-23 8:05 ` Lee Jones [this message]
2013-09-23 8:09 ` Linus Walleij
2013-09-23 8:44 ` Lee Jones
2013-09-23 18:02 ` Linus Walleij
2013-09-24 13:56 ` Lee Jones
2013-09-25 7:18 ` Linus Walleij
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=20130923080532.GD2185@lee--X1 \
--to=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
--cc=wangshilong1991@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