Re: [PATCH] thermal: sun8i: Use bitmap API instead of open code

2020-11-09 Thread Frank Lee
I forgot to add "V2", I will resend. Yangtao

[PATCH] thermal: sun8i: Use bitmap API instead of open code

2020-11-09 Thread Frank Lee
From: Yangtao Li The bitmap_* API is the standard way to access data in the bitfield. So convert irq_ack to return an unsigned long, and make things to use bitmap API. Signed-off-by: Yangtao Li --- v2: Make irq_ack to return an unsigned long --- drivers/thermal/sun8i_thermal.c | 33 +++

Re: [PATCH] thermal: sun8i: Use bitmap API instead of open code

2020-10-28 Thread Maxime Ripard
Hi Frank, On Mon, Oct 19, 2020 at 07:58:36PM +0800, Frank Lee wrote: > From: Yangtao Li > > Thw bitmap_* API is the standard way to access data in the bitfield. > > Signed-off-by: Yangtao Li > --- > drivers/thermal/sun8i_thermal.c | 35 + > 1 file changed, 18 i

[PATCH] thermal: sun8i: Use bitmap API instead of open code

2020-10-19 Thread Frank Lee
From: Yangtao Li Thw bitmap_* API is the standard way to access data in the bitfield. Signed-off-by: Yangtao Li --- drivers/thermal/sun8i_thermal.c | 35 + 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/