Re: [PATCH v3] rtc: davinci: clean up probe/remove routines

2012-10-20 Thread Hannu Heikkinen
Hi, Sekhar and others, any comments regarding this devm patch for Da Vinci? br, Hannu On 14/10/12 17:03 +0300, Hannu Heikkinen wrote: > Use the devres managed resource functions in the probe routine. > Also affects the remove routine where the previously used free and > release functions are not

[PATCH v3] rtc: davinci: clean up probe/remove routines

2012-10-14 Thread Hannu Heikkinen
Use the devres managed resource functions in the probe routine. Also affects the remove routine where the previously used free and release functions are not needed. The devm_* functions eliminate the need for manual resource releasing and simplify error handling. Resources allocated by devm_* are