Re: Re: [PATCH 0/9] added helper macros to remove duplicate code from probe functions of the platform drivers

2019-09-24 Thread Vinod Koul
On 21-09-19, 20:27, Satendra Singh Thakur wrote: > On Wed, Sep 18, 2019 at 3:57 PM, Vinod Koul wrote: > > On 15-09-19, 12:30, Satendra Singh Thakur wrote: > > > 1. For most of the platform drivers's probe include following steps > > > > > > -memory allocation for driver's private structure > > >

Re: Re: [PATCH 0/9] added helper macros to remove duplicate code from probe functions of the platform drivers

2019-09-21 Thread Satendra Singh Thakur
On Wed, Sep 18, 2019 at 3:57 PM, Vinod Koul wrote: > On 15-09-19, 12:30, Satendra Singh Thakur wrote: > > 1. For most of the platform drivers's probe include following steps > > > > -memory allocation for driver's private structure > > -getting io resources > > -io remapping resources > >

Re: [PATCH 0/9] added helper macros to remove duplicate code from probe functions of the platform drivers

2019-09-18 Thread Vinod Koul
On 15-09-19, 12:30, Satendra Singh Thakur wrote: > 1. For most of the platform drivers's probe include following steps > > -memory allocation for driver's private structure > -getting io resources > -io remapping resources > -getting irq number > -registering irq > -setting driver's private data

[PATCH 0/9] added helper macros to remove duplicate code from probe functions of the platform drivers

2019-09-15 Thread Satendra Singh Thakur
1. For most of the platform drivers's probe include following steps -memory allocation for driver's private structure -getting io resources -io remapping resources -getting irq number -registering irq -setting driver's private data -getting clock -preparing and enabling clock 2. We have defined