Re: [PATCH] Add struct ad9832_platform_data to the include/linux/iio

From: Greg Kroah-Hartman
Date: Sat Jul 08 2023 - 07:12:52 EST


On Fri, Jul 07, 2023 at 04:15:53PM -0500, Madhumitha Prabakaran wrote:
> Add struct ad9832_platform_data to the include/linux/iio
> for maintaining code organization and clarity.
>
> Signed-off-by: Madhumitha Prabakaran <madhumithabiw@xxxxxxxxx>
> ---
> drivers/staging/iio/frequency/ad9832.c | 3 +--
> drivers/staging/iio/frequency/ad9832.h | 34 --------------------------
> include/linux/iio/frequency/ad9832.h | 30 +++++++++++++++++++++++

No, not yet, sorry. Staging drivers should be self-contained, why does
this .c file need a .h file at all anyway? It should all just be in the
.c file, can you do that instead?

thanks,

greg k-h