Re: [PATCH 2/9] iio: adc: ad_sigma_delta: use u8 instead of uint8_t
From: Andy Shevchenko
Date: Tue Jun 24 2025 - 03:21:09 EST
On Mon, Jun 23, 2025 at 03:48:30PM -0600, David Lechner wrote:
> On Mon, Jun 23, 2025 at 12:51 AM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxx> wrote:
> > On Fri, Jun 20, 2025 at 05:20:08PM -0500, David Lechner wrote:
> > > Replace uint8_t with u8 in the ad_sigma_delta driver.
...
> > > unsigned int reset_length = sigma_delta->info->num_resetclks;
> > > - uint8_t *buf;
> > > + u8 *buf;
> > > unsigned int size;
> > > int ret;
> >
> > Wondering if in the cases like this we may make it to be reversed xmas tree.
>
> Fine with me as long as Jonathan doesn't mind the noise since it looks
> like I will be doing a v2 anyway.
I mean the cases when you touch already the variables and this won't be any
*additional* churn to what the change has.
> > unsigned int reset_length = sigma_delta->info->num_resetclks;
> > unsigned int size;
> > u8 *buf;
> > int ret;
--
With Best Regards,
Andy Shevchenko