On Mon, Aug 30, 2021 at 6:38 PM Florian Boor <florian.boor@xxxxxxxxxxxxxxxxx> wrote: > > Make use of the AD7991_REF_SEL bit and support using the external > reference voltage by setting the 'vref-external' property in devicetree. ... > + of_property_read_u32(client->dev.of_node, "vref-external", > + &vref_external); Please, use device property API instead in the code you are submitting to IIO. -- With Best Regards, Andy Shevchenko