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 72C3BC4332F for ; Wed, 19 Oct 2022 13:20:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbiJSNUh (ORCPT ); Wed, 19 Oct 2022 09:20:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbiJSNUJ (ORCPT ); Wed, 19 Oct 2022 09:20:09 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55BF17434D for ; Wed, 19 Oct 2022 06:05:51 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id bp15so27996169lfb.13 for ; Wed, 19 Oct 2022 06:05:51 -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=5UnIKdS/ogwwde9hLUwkHWUhiP5dC2TYUzEPI9H3VXY=; b=MmT1SYTDdT1XQmRyk+pUP/6sTlU5r5MH5UcNupoZdUOqE7yg8UdieoecejuV20/p7p VQIh6n4hg9EGQRFMIxCR3qvjtSeLsbttkSZ7gPGX+3+ERpzF5dFBCWvS9zDKv730/fTV 6XGzJIAu7nOC3GgmBIqpH94cSghtmJUtmNB08dKCJi/QeAwM7e4qqbd4CtGQjyPsY0qA kCDtrwitAE2/ayba8KlBCyxQ++T2+VgqowyEKvg0wRirTRUj4q9NRPPWgXca1Dy/v0li 8H4xRP7LLk40DzERSXYLqe2Muv1b7TQWdxdThHssIQrTHnvN/VLSBQz5jV1bv1sahXgI /PNg== 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=5UnIKdS/ogwwde9hLUwkHWUhiP5dC2TYUzEPI9H3VXY=; b=pLTklLfgWBaaBpjHDAx1OOzUEWoJDFgBnTdn71Z/Up7FzLmFpFaNtbUF2Wn+/aZfTK 6CLk0BCgwJ0NMNIE+oUhD6Hkz4yWmxJcVOPRHJeTDlcKGqPQOs04Fv6gxBB954fVwJM+ V9pBLoTa70avpynTz7/+zsMUz+dj3I/Vn0atMe+F72/fQoL3lLleqltO/c9URNjpHEoP fqqeNBlHs8V+PEgZG10XBXrehp4/E83X4y7RY66o6uSOk6Tyfyt3ldITFmZGqETOMMfu H7JEWskHXxwIRZOSCpRJ4AqYkHOqwKzUJDebxWUFfwIE5rY15MPftsJJSjo7xMfRggJX QV7w== X-Gm-Message-State: ACrzQf3JQbBVY2zull3huu7UskCR+uwzkZGjmm7S3qGhMWZpRNXLFoyU 4Yq3j9zfliVeen7XDHj4g4HRpA== X-Google-Smtp-Source: AMsMyM7nB9iWbVD0xqwF57VOzWjTruUqUVGa9pMdYMYF7NUjUNJW8H1LBlZsJ59iaS0NAtu9Zp7S8A== X-Received: by 2002:a05:6512:150e:b0:492:d9fd:9bdf with SMTP id bq14-20020a056512150e00b00492d9fd9bdfmr2686029lfb.583.1666184738585; Wed, 19 Oct 2022 06:05:38 -0700 (PDT) Received: from [10.10.15.130] ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id e6-20020a05651236c600b00492e5d31201sm2298249lfs.7.2022.10.19.06.05.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Oct 2022 06:05:38 -0700 (PDT) Message-ID: <42ac56bf-ad46-1e49-1e65-fb406d8836a8@linaro.org> Date: Wed, 19 Oct 2022 16:05:37 +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 v2 05/15] phy: qcom-qmp-pcie: 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: <20221019113552.22353-1-johan+linaro@kernel.org> <20221019113552.22353-6-johan+linaro@kernel.org> From: Dmitry Baryshkov In-Reply-To: <20221019113552.22353-6-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 19/10/2022 14:35, 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-pcie.c | 49 +++++++++++------------- > 1 file changed, 23 insertions(+), 26 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry