Re: [PATCH v1] staging: iio: frequency: ad9832: replace long/short with u32/u16
From: Andy Shevchenko
Date: Sat Dec 06 2025 - 11:32:59 EST
On Sat, Dec 06, 2025 at 05:48:31AM +0000, Dharanitharan R wrote:
> Cleanup the AD9832 header by explicitly including <linux/types.h> and
> replacing ambiguous integer types with fixed-width kernel types:
>
> - unsigned long → u32
> - unsigned short → u16
>
> This improves type clarity and ensures consistent behavior across
> architectures.
I have nothing to add to the Jonathan's review, just shift your focus to
another driver instead. And if see another platform data, kill it. We don't
use platform data approach in a new code.
--
With Best Regards,
Andy Shevchenko