Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1959713rdh; Sat, 25 Nov 2023 08:22:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHW3adbJP1aid1Uc9HO9b43Lk0iALhF0Y02tyiAMKxe6d9OUBXNJiwvBK5v7iJzVQVZSK7a X-Received: by 2002:a05:6a21:6d9f:b0:187:4fd9:b9bc with SMTP id wl31-20020a056a216d9f00b001874fd9b9bcmr7975564pzb.34.1700929334317; Sat, 25 Nov 2023 08:22:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700929334; cv=none; d=google.com; s=arc-20160816; b=kHfg3dp00/ENAnWDGJ3UrcmwwW9iUPkwsxfn8sNBOvo9x3qYmCKZqGomNBQ+3Kf8xD oATltCYkOHiavlqABge8SKjHOJs1SYo01f2N43hik9lMulQSXaw9a/r/5hQT8l/OIgu8 zhc09wPBKDPgJ7AT4859ywPRxXltJJ5Z+jNS4xTiJjIa6Nx/YLhFDe0smLwp5iOH63VH Y3hKD8F6lMakAVkeSckAvyZfe8lhWItV+pCiZoJpll/yOMXb3pPuwU72L854WMIWqE38 bWC43lmUK9AgS1NlQOQImULLyGtSSiBoVHFyr0w53en/glBvOdRXl4lAeC7p4lyeTFLy xnlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=KjU9XD91TtXlJCDpsQqTZAV9o8VXOjvE0gsRyn/bWvQ=; fh=ESPtyGfxO2/njBQIL8vjsGAP9XGYUG/mWqSAPV+GTUY=; b=v/uob/WfRS6JU/6349lxaqIVpJIyLKQgaCOPEVVIlkI0IMrlznnT2a1Xar8Jq1gOWz hELxTYYl1PH1DsBEuWAGTeqTJe2xZAw3u2Rl5OGd5j4Ka+NlHn8R03sQUTVisHppkdsR esnasmMxCWCjmVqH2t2BkNgcpVxN6hrxqF/yaF261E1O1F1IfQNDK/FjlUEuPAwIC7dC 9luYSNm+z7n94KY5Av+ZRy3lewZUF1QK7HsvIn6yyk17djGsduxikh0uFyHhAEHHvCUB c2Kvrvq92MF3ZSUhEyvJUvn+BUwvf9dLKPbXEVHv6uj4tZ0immljw47+Pf3jXwxSl0RK 6C5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hBUlDWDB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j12-20020a17090a840c00b002850fa45ad1si5919345pjn.95.2023.11.25.08.22.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 08:22:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hBUlDWDB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0972A8051AAD; Sat, 25 Nov 2023 08:22:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232168AbjKYQV6 (ORCPT + 99 others); Sat, 25 Nov 2023 11:21:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbjKYQV6 (ORCPT ); Sat, 25 Nov 2023 11:21:58 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAAF19F for ; Sat, 25 Nov 2023 08:22:04 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36919C433C8; Sat, 25 Nov 2023 16:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700929324; bh=47slQ7C1k9AETzS9asZhacrAtG9GZsJQSECZIsdAGjI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hBUlDWDBADGfqaINi7P44RSLl1DHvL1kAkuCDYaDJ1K1oYFoFYGZP8xO9r33MoOEP o/nlZv20qLVTDGLVY09grPf1KLBw740Eig6hefAJ0Ak1OhroWuQv8wBbJfLmbto8vq ydDaDAWC2IE8zkuiyvfoW0QUMPoXnm4+PoIcYeLNRmbdp3O99BXnnyCcO51dtVR+Mb AGPeddIo+cZWuhqso81ECejiUT3qHRiJnSuP7uOJXSCOP58ilvlcdFxIOqtsw2rlzg Ez0Nr7mdg7CvnyRAxNWpXYaVFM1QpDJRin33jq/NiXqRIs5dxIQQxIsrP7DNeFE1jf wXIdo8otFungQ== Date: Sat, 25 Nov 2023 16:21:55 +0000 From: Jonathan Cameron To: Marcelo Schmitt Cc: , , , , , , , , , Subject: Re: [PATCH v2 4/7] iio: adc: ad7091r: Alloc IIO device before generic probe Message-ID: <20231125162155.2a3f980f@jic23-huawei> In-Reply-To: <0a648afb9a06471380a7993b20cb44a9026c8248.1700751907.git.marcelo.schmitt1@gmail.com> References: <0a648afb9a06471380a7993b20cb44a9026c8248.1700751907.git.marcelo.schmitt1@gmail.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 25 Nov 2023 08:22:12 -0800 (PST) On Thu, 23 Nov 2023 13:41:59 -0300 Marcelo Schmitt wrote: > Rework ad7091r probe functions so the IIO device is allocated before > the generic device probe function is called. > This change is needed for a follow up patch that passes a pointer to the > IIO device to a couple of regmap callback functions. > > Signed-off-by: Marcelo Schmitt > Signed-off-by: Marcelo Schmitt Why the gmail sign off? That's unusual enough that if it makes sense I'd like to see a comment below the --- on why. Patch is fine, though I'll need to read further for why this is needed! Jonathan