Thread (27 messages) 27 messages, 5 authors, 2026-03-22

Re: [PATCH 2/5] iio: adc: xilinx-xadc: Add setup_channels function pointer to ops structure

From: Andy Shevchenko <hidden>
Date: 2026-02-20 07:52:23
Also in: linux-devicetree, linux-iio, lkml

On Fri, Feb 20, 2026 at 11:09:38AM +0530, Sai Krishna Potthuri wrote:
Add setup_channels function pointer to xadc_ops structure to enable
Add .setup_channels()...

...to struct xadc_ops to enable...
different interfaces to have custom channel setup logic.
...
+static int xadc_parse_dt(struct iio_dev *indio_dev, unsigned int *conf, int irq);
This is a red flag. Why do we need a forward declaration? Bad architecture /
design of the function calls?

-- 
With Best Regards,
Andy Shevchenko


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help