Re: [PATCH 5/5] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-08 Thread Varsha Rao
>> Replace bit operation functions with IDA allocator functions. As IDA >> allocation is simpler. > > But why does this matter? Few of the files in this driver is already using ida allocation. For maintaining the uniformity I have used ida allocation. Files using idr-ida interface hw_random/virti

Re: [PATCH 5/5] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-07 Thread Greg Kroah-Hartman
On Fri, Apr 07, 2017 at 05:04:41PM +0530, Varsha Rao wrote: > Replace bit operation functions with IDA allocator functions. As IDA > allocation is simpler. But why does this matter? > > Signed-off-by: Varsha Rao > --- > drivers/char/misc.c | 16 ++-- > 1 file changed, 10 insertions

[PATCH 5/5] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-07 Thread Varsha Rao
Replace bit operation functions with IDA allocator functions. As IDA allocation is simpler. Signed-off-by: Varsha Rao --- drivers/char/misc.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/char/misc.c b/drivers/char/misc.c index c9cd1ea..5786281 100

[PATCH 5/5] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-03 Thread Varsha Rao
Replace bit operation functions with IDA allocator functions. As IDA allocation is simpler. Signed-off-by: Varsha Rao --- drivers/char/misc.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/char/misc.c b/drivers/char/misc.c index c9cd1ea..5786281 100