[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140902115119.GG1266@katana>
Date: Tue, 2 Sep 2014 13:51:20 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Pavel Machek <pavel@....cz>
Cc: a.zummo@...ertech.it, rtc-linux@...glegroups.com,
linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: Trickle charging for rtc-bq32k
> Do you have example how to acces of_ from i2c driver?
>
> Platform drivers do:
>
> if (pdev->dev.of_node) {
As I said, this is basically the same. Just use the node from the
client's device. Nothing special here.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists