Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1256405
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] regulator, dt: add dt support for tps6502x regulator |
| Date | 2015-10-27 03:20 +0100 |
| Message-ID | <qo21H-7GO-1@gated-at.bofh.it> (permalink) |
| References | <qnO8q-7AK-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, Oct 26, 2015 at 12:25:17PM +0100, Heiko Schocher wrote:
> add DT support for the tps6502x regulators.
Please use subject lines matching the style for the subsystem.
> + regulators = of_get_child_by_name(np, "regulators");
> + if (!regulators) {
> + dev_err(dev, "regulator node not found\n");
> + return NULL;
> + }
Please use the generic support for locating the DT information for
regulators using regulators_node and of_match in the regulator_desc
rather than open coding this.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3] regulator, dt: add dt support for tps6502x regulator Heiko Schocher <hs@denx.de> - 2015-10-26 12:30 +0100
Re: [PATCH v3] regulator, dt: add dt support for tps6502x regulator Mark Brown <broonie@kernel.org> - 2015-10-27 03:20 +0100
Re: [PATCH v3] regulator, dt: add dt support for tps6502x regulator Heiko Schocher <hs@denx.de> - 2015-10-27 07:30 +0100
Re: [PATCH v3] regulator, dt: add dt support for tps6502x regulator Mark Brown <broonie@kernel.org> - 2015-10-27 08:30 +0100
csiph-web