Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3905469iog; Tue, 28 Jun 2022 05:20:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u2jqp7M4lC+pVv4D9KvKtb42ZiO32fbFhApBVdFMyInj11MjG2KDkwxwVTz94ibYWxgmow X-Received: by 2002:a17:906:2f06:b0:726:3afc:fe31 with SMTP id v6-20020a1709062f0600b007263afcfe31mr17615557eji.329.1656418856657; Tue, 28 Jun 2022 05:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656418856; cv=none; d=google.com; s=arc-20160816; b=rLwDW2XVWc0c37Wxv6SRe2WukhHQZChlxKmm/Z3+YBFHr/AqKFmwcw6TD0LMjeRGDD 06uLQ/xwdWoyKRTQC0EiXUGDzHY1Llgh82LwyVm2VTD5SJaW6khX5R6Nfe1Sn0U4sonn clUKn9hrlw4iqo00MguyU064iBz75Uzi4z8NLdg5Fo/9n2tc88XkIhdDsN6PH+vJmmBC J+PgUmg4116/fu1a0r+Z3tcNiqODvDSpWq855tOfjH7E6TR2rijX6Lp0U3ZAzq5ANyhe kVrHfNCrHo2jrl+4/4bG87pKqcRf7uLf/ic1j9aAUi6T9kDCOoJoMwFpa/Xs0Y5DQpol u9yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YBkQLleTWrfB+RKhzuLwsu8Qt8+hczyVZ3A4HQVm23w=; b=QvBVqe6+wVTpLmfgFiLLJFoCG9p3GIeAn3EbfWR+9G86sVrA1WGPAm+4PGbj4uzL+g fcTadODiTIB9lQBMxoAqrhgT7/BsO4+0anSemBH+4Nv5kuNUM7IjPSE6s3Nnec+nJ7p2 43WytE+xxM9jI3cCh9QuLEZcmALt33kD3+d42bBY4uBcTkzUNt5MNHVKCcxbQ6msdS6V bGOgx93nZnnajLKRvYuXQzWS3El5QwtzY5ZZkr93E0bMY4O6BpGyHNXLplBPPxu0jCgl 9mNpmHX6xdN2XQYOCOHE+25Xg4NPaplJvNx45BrfjccF9J3JpBqIFoBlAOMjl08FttGA ertQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kdJe+hsx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji22-20020a170907981600b006e8bbf3d88fsi17219563ejc.15.2022.06.28.05.20.30; Tue, 28 Jun 2022 05:20:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=kdJe+hsx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344482AbiF1LtT (ORCPT + 99 others); Tue, 28 Jun 2022 07:49:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344313AbiF1LtS (ORCPT ); Tue, 28 Jun 2022 07:49:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2572860D5 for ; Tue, 28 Jun 2022 04:49:11 -0700 (PDT) Received: from [192.168.2.145] (109-252-118-164.nat.spd-mgts.ru [109.252.118.164]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3321A660184F; Tue, 28 Jun 2022 12:49:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656416949; bh=HGQEPLnVH+jJ83Zot50l0PdSWCuDqpbeVYS48mJP2vs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kdJe+hsxGDkqHitC4VywwVUdMSa0p1LJvIbmEMvG8yLFoS8FoF05EUhaL7RdtdOiL ODglyQWuRcqO8Z4xTd9YwEoObsgo/eMMBpbHCocY/hUgQ9X3Wj888YUAqLbMXakCvd AjV+jKscFH196pEGB/x6rxUPw3eYVPWpp92JrejLsBjhM+zkPwa7hl6ZeTZlusqnGV gqrYQnbaGmY3NjMUyYfdk4tQJ82vMXZbgFv5xicP4WfdL6eSFVPfQo/UezmQ9Z9Bpo 2B/QR++KoJOGMprTXnWMhvpZzccFpEOU2BTwAYxT+d6+8LfU8Q9I6U6caMsZyxmTI/ y3ZDg+Bvli1Mg== Message-ID: Date: Tue, 28 Jun 2022 14:49:06 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2] soc: mediatek: Introduce mediatek-regulator-coupler driver Content-Language: en-US To: AngeloGioacchino Del Regno , matthias.bgg@gmail.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, wenst@chromium.org, alyssa.rosenzweig@collabora.com, nfraprado@collabora.com, digetx@gmail.com References: <20220628110128.64137-1-angelogioacchino.delregno@collabora.com> From: Dmitry Osipenko In-Reply-To: <20220628110128.64137-1-angelogioacchino.delregno@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Angelo, On 6/28/22 14:01, AngeloGioacchino Del Regno wrote: > + mrc->vsram_rdev = rdev; > + } else if (!strstr(rdev_name, "vgpu") && !strstr(rdev_name, "Vgpu")) > + return 1; Nit: checkpatch --strict should warn about the missing {} here. In general braces are always needed for each condition if they were needed once in the if-else. Reviewed-by: Dmitry Osipenko -- Best regards, Dmitry