RE: [PATCH] i2c: davinci: update to devm_* API

2013-02-05 Thread Vishwanathrao Badarkhe, Manish
Hi Sekhar On Tue, Feb 05, 2013 at 17:17:25, Nori, Sekhar wrote: > > > On 2/5/2013 1:54 PM, Vishwanathrao Badarkhe, Manish wrote: > > Update the code to use devm_* API so that driver core will manage > > resources. > > > > Signed-off-by: Vishwanathrao Badarkhe, Manish > > You can use devm_clk

Re: [PATCH] i2c: davinci: update to devm_* API

2013-02-05 Thread Sekhar Nori
On 2/5/2013 1:54 PM, Vishwanathrao Badarkhe, Manish wrote: > Update the code to use devm_* API so that driver > core will manage resources. > > Signed-off-by: Vishwanathrao Badarkhe, Manish You can use devm_clk_get() as well. We should also move to runtime PM but that can be a different patch.