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

From: Maxime Ripard
Date: Tue Nov 10 2020 - 04:55:36 EST


On Mon, Nov 09, 2020 at 07:46:24PM +0800, Frank Lee wrote:
> From: Yangtao Li <frank@xxxxxxxxxxxxxxxxx>
>
> 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 <frank@xxxxxxxxxxxxxxxxx>

Acked-by: Maxime Ripard <mripard@xxxxxxxxxx>

Thanks!
Maxime

Attachment: signature.asc
Description: PGP signature