From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEB04C38A2D for ; Mon, 24 Oct 2022 17:05:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234817AbiJXRFs (ORCPT ); Mon, 24 Oct 2022 13:05:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235360AbiJXRE1 (ORCPT ); Mon, 24 Oct 2022 13:04:27 -0400 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86010C5108 for ; Mon, 24 Oct 2022 08:40:21 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id g12so6852583lfh.3 for ; Mon, 24 Oct 2022 08:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HFZjX5S7TOtvQCwB9xl/hGQf5yUtgAWOiJRBK3Mc0r4=; b=M/DrH1WIigY7MKVYeORXxguZGdlaMYm388Q9Y0zeJXJAYpNHUHnC/seWKCRCDKVHZh FYLajzsz66qCaNceZ4vmnt6q8mylKNF6hvucvj0kq6KjGhccTuNPAZWnq83tJUI7Z2St 13JCqldQNVjW8JcEu9r2l5ED0Q3ZFdZIr9V2BFb4ECvtpBhJlie6bxLVirhOvz3P8+yc 0xYFfs46bfRCSHixg3T4aH/gR/HPM0R3W1YWJdu5KYXrCiItapruc5uPaS87CZjTypfF ZK+d7HI9Y8/0t2DFftZ6FMqgICqwl6t9MaqXPtoysb99Gh9xPGzLnUgX3I4RVBkksVBp UDww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HFZjX5S7TOtvQCwB9xl/hGQf5yUtgAWOiJRBK3Mc0r4=; b=wJT4WHFTsv5W23c/mBdQ8xdUn5/aJvcDVdlAzTxWynuwvsQH/t/U7MQje9LMKdNJbj 9271G+jGP2Mdm1fJTof165ZE/Wq+WlnAbKh09XIkGT//yKZHQpHHwoA5T/pOcU1LDSbJ JyLrV4Js7C51FXBdWtY67ZTmerKJFxPHjPKuZqd+5xI5PlCD1DmSVOw0Gc1EdxLGj77V G4L9XDcxYlzcBezKXpS049QTKA2ibIHPi/+r1qMQH5Z65RtUP6sEyBKq0Dy/r/YeK/bi dPtUadzilPaIXvhyj5fnnayStKtqxu6Y1d32v0ovewW836LunvizlNoaeduQAx51Q+2o pfsw== X-Gm-Message-State: ACrzQf1yd0YJmKWgigy91Q+zs5Mo1pKVJnWMCuYdhqmUUWSgxmusMyzf jUJDCaThnEfkqCes43MfIgOoUQcjAQ0cyDAg X-Google-Smtp-Source: AMsMyM6Cay83Fhrt2am2YSVlmOjugpbTdf1Ui3AKwagVyB8ovojrmkQXtuTIMd3QITZ4VR22jyyMYg== X-Received: by 2002:ac2:5b4e:0:b0:4aa:301f:3e2e with SMTP id i14-20020ac25b4e000000b004aa301f3e2emr2873383lfp.90.1666618468819; Mon, 24 Oct 2022 06:34:28 -0700 (PDT) Received: from [10.10.15.130] ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id n28-20020a05651203fc00b00494643db68bsm4531561lfq.78.2022.10.24.06.34.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 06:34:28 -0700 (PDT) Message-ID: Date: Mon, 24 Oct 2022 16:34:27 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH 07/13] phy: qcom-qmp-usb: clean up probe initialisation Content-Language: en-GB To: Johan Hovold , Vinod Koul Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221024100632.20549-1-johan+linaro@kernel.org> <20221024100632.20549-8-johan+linaro@kernel.org> From: Dmitry Baryshkov In-Reply-To: <20221024100632.20549-8-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/10/2022 13:06, Johan Hovold wrote: > Stop abusing the driver data pointer and instead pass the driver state > structure directly to the initialisation helpers during probe. > > Signed-off-by: Johan Hovold > --- > drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 46 ++++++++++++------------- > 1 file changed, 22 insertions(+), 24 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry