Thread (16 messages) 16 messages, 5 authors, 2015-11-30

Re: [PATCH v4 3/4] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

From: Mark Brown <broonie@kernel.org>
Date: 2015-11-22 13:13:37
Also in: linux-gpio, lkml

On Sat, Nov 21, 2015 at 02:40:50PM -0600, Andrew F. Davis wrote:
On 11/21/2015 07:37 AM, Mark Brown wrote:
quoted
An earlier version of this patch has already been applied, please don't
resend already applied patches but send incremental patches with any
changes.
Odd, I didn't seem to get any message for this getting applied. Looks
like only a couple lines difference from the version in the regulators
branch, I don't imagine you are able to rebase that with these changes?
As a matter of policy I try to avoid rewriting history unless it is
really required.
Anyway the reason that line needed changed is over a confusion in
what the 'of_node' does in 'struct regulator_config'. The description
seems to make it seem like it is the node that gets checked for
init data.
The current behaviour is the intended behaviour.
quoted
* @of_node: OpenFirmware node to parse for device tree bindings (may be
*           NULL).
But the 'of_node' that is actually searched is the one given in
regulator_config->dev->of_node. Is this intended behavior (drivers
assume it is so it probably has to be now) and if so, the above
description might need to be clarified as too what that 'of_node'
pointer really does?
Please submit a patch with any clarification you think is needed.
of_node is the name of the container subnode of the main node for the
device where we look for init data - both are used.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help