# Re: \[PATCH 1/4\] i2c: pasemi: Add registers bits and switch to BIT()

- From: Andy Shevchenko \<hidden\>
- Date: 2025-03-22 13:23:13 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2025/03/2982328
- Thread: https://ratatoskr.run/linuxppc-dev/2025/02/2939128/t.md

```text
Thu, Mar 20, 2025 at 01:23:25AM +0100, Andi Shyti kirjoitti:
> Hi Sven,
> 
> On Sat, Feb 22, 2025 at 01:38:33PM +0000, Sven Peter via B4 Relay wrote:
> > From: Sven Peter <redacted>
> > 
> > Add the missing register bits to the defines and also switch
> > those to use the BIT macro which is much more readable than
> > using hardcoded masks
> > 
> > Co-developed-by: Hector Martin <redacted>
> > Signed-off-by: Hector Martin <redacted>
> > Signed-off-by: Sven Peter <redacted>
> 
> Just this patch merged to i2c/i2c-host.

This needs an update as well. The proper header for BIT() et al. is bits.h.
bitfield.h is for FIELD_*() et al.

-- 
With Best Regards,
Andy Shevchenko



```
