On Sat, 24 Sep 2016 16:29:11 +0800
Chen-Yu Tsai wrote:
[snip]
> > static int axp20x_regulator_probe(struct platform_device *pdev)
> > {
> > + struct device *dev = pdev->dev.parent;
>
> There are 2 struct device's in play in this function, 1 from the parent,
> and
On Sat, 24 Sep 2016 16:29:11 +0800
Chen-Yu Tsai wrote:
[snip]
> > static int axp20x_regulator_probe(struct platform_device *pdev)
> > {
> > + struct device *dev = pdev->dev.parent;
>
> There are 2 struct device's in play in this function, 1 from the parent,
> and 1 for the
Hi,
On Thu, Sep 22, 2016 at 2:20 AM, Jean-Francois Moine wrote:
> Use the pointer to the main regulator device instead of the pointer
> to the child platform device.
>
> Signed-off-by: Jean-Francois Moine
> ---
> drivers/regulator/axp20x-regulator.c | 45
>
Hi,
On Thu, Sep 22, 2016 at 2:20 AM, Jean-Francois Moine wrote:
> Use the pointer to the main regulator device instead of the pointer
> to the child platform device.
>
> Signed-off-by: Jean-Francois Moine
> ---
> drivers/regulator/axp20x-regulator.c | 45
> ++--
Use the pointer to the main regulator device instead of the pointer
to the child platform device.
Signed-off-by: Jean-Francois Moine
---
drivers/regulator/axp20x-regulator.c | 45 ++--
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git
Use the pointer to the main regulator device instead of the pointer
to the child platform device.
Signed-off-by: Jean-Francois Moine
---
drivers/regulator/axp20x-regulator.c | 45 ++--
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git
6 matches
Mail list logo