[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/5] hw/sensor/tmp105: Use registerfields API
From: |
Guenter Roeck |
Subject: |
Re: [PATCH v2 2/5] hw/sensor/tmp105: Use registerfields API |
Date: |
Fri, 6 Sep 2024 11:50:50 -0700 |
On Fri, Sep 06, 2024 at 05:49:08PM +0200, Philippe Mathieu-Daudé wrote:
> To improve readability, use the registerfields API.
> Define the register bits with FIELD(), and use the
> FIELD_EX8() and FIELD_DP8() macros. Remove the
> abbreviations in comments.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
- [PATCH v2 0/5] tmp105: Improvements and fixes, Philippe Mathieu-Daudé, 2024/09/06
- [PATCH v2 1/5] hw/sensor/tmp105: Coding style fixes, Philippe Mathieu-Daudé, 2024/09/06
- [PATCH v2 2/5] hw/sensor/tmp105: Use registerfields API, Philippe Mathieu-Daudé, 2024/09/06
- Re: [PATCH v2 2/5] hw/sensor/tmp105: Use registerfields API,
Guenter Roeck <=
- [PATCH v2 3/5] hw/sensor/tmp105: Pass 'oneshot' argument to tmp105_alarm_update(), Philippe Mathieu-Daudé, 2024/09/06
- [PATCH v2 4/5] hw/sensor/tmp105: OS (one-shot) bit in config register always returns 0, Philippe Mathieu-Daudé, 2024/09/06
- [PATCH v2 5/5] hw/sensor/tmp105: Lower 4 bit of limit registers are always 0, Philippe Mathieu-Daudé, 2024/09/06
- Re: [PATCH v2 0/5] tmp105: Improvements and fixes, Philippe Mathieu-Daudé, 2024/09/09
- Re: [PATCH v2 0/5] tmp105: Improvements and fixes, Philippe Mathieu-Daudé, 2024/09/12