Hi, n 12/5/20 4:23 PM, Jonathan Cameron wrote: > On Tue, 1 Dec 2020 13:28:47 +0100 > Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > >> Hi, >> >> On 11/25/20 9:46 AM, Hans de Goede wrote: >>> Hi All, >>> >>> I wrote this because I was planning on using is_visible in a driver's >>> attribute group myself (1). But in the end it looks like I'm going to >>> do things differently. >>> >>> This is still useful to have though, both for possible future use of >>> is_visible in driver's attribute groups as well as to make the current >>> usage of is_visible in adi-axi-adc.c actually work. >> >> Jonathan, any opinion / remarks on this one? >> >> FWIW since I no longer have plans to use is_visible in an iio-driver >> myself I'm fine with dropping this one, but: >> >> 1. Being able to use is_visible in the attr group of iio-drivers >> seems like a nice thing to have. >> >> 2. There is an existing use of is_visible in adi-axi-adc.c which currently is broken. > > I was giving time for Alex, or others to sanity check the need for a fix > (well more specifically wether this one was the right one as clearly > a need!). > > Anyhow, all sounds good. Giving timing I'll mark it as one I'll pick up > to go in after rc1 + stable. > > I'm not totally sure on the fixes tag. Current patch will have to go on top > of 207c2d27a010 ("iio: core: move channel list & group to private iio device object") > but I don't think it worked before that either as we were still copying attributes > around, just to a different location. I don't think it is important for this one to go to the stables series, so if you think it may cause problems feel free to drop the Fixes tag (or point it to a different commit). Regards, Hans