Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7153248rwi; Mon, 24 Oct 2022 10:27:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7gBUvITvhGuqEdwzS3ytXQ+s6Kj6KwevE3Vv1Bjd83G9cUlqyayOjtzDc+0q4reYFDEYwP X-Received: by 2002:a17:906:cc58:b0:7a9:6b4e:79e4 with SMTP id mm24-20020a170906cc5800b007a96b4e79e4mr3966977ejb.57.1666632463901; Mon, 24 Oct 2022 10:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666632463; cv=none; d=google.com; s=arc-20160816; b=iUSIyYesahA0oWQVkcAt861BBfEcN7mEbGPc9DJbG4ZK8Scr4AFmBcVc8BbqzF/7za ILqXwAlUTgO7+Ml6sA1y09ZS3KqUAbakft/DThQIS7kwhBOiZxru7Tft/oA1wwpeX2uM 4q6U6WdXJpZu9Gk9XTtyJ0WSwkW5JKVwKAIl4YNMdpz0xPG1s6eMFn82AHAgesQejlvv dSbfL/EB5EhEhT5mXB45V2mSzCTWttiLzDy8f1HeDOABxZSkl/U5T3Nizj53wID0IrHO uh7SkNo6m78hlcgreT5a9g9ohYng4bLYlKNBolKCIGedW3uQ9rg/e446JcAhq+zBO6Nq Lrgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=k8cUhyF+iRbpVm7ZibvpxWN910TkG4qCMbi/DBVKQRg=; b=exiFJq1MiMRGaBcSsEBA/s736QHiqNeG5YjFkPpIpbjg0iJzEeGsnW5JUkvO/+1u3B uwWSi8o0nbtEuLJDaW2knpgGwAFk33ArlVct8QS7xXHRZHZ+K+tWwV9abigIydVo+k6l w+Cpn+qo7GHrnEYDqu0MXWXf4K2DnCCkF6NU4hNe9I05u+ZkK//2nEv2vnwJDwcWmiXJ uZNqyZeO43KzplQB8p/R3URH1ALOEP190VZAFzhZjZ/hyMtYTfXq72lwj+gwsYuxASRC EGkyIJo1n4tTut/1SHTexUtwXIsGjO5b20Vs3sKqzCAU2v0oOXtaW3JHCy1QVwxrJyLL NisQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QCCxpZW7; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs18-20020a170906dc9200b0078db3f08a6bsi272244ejc.720.2022.10.24.10.27.15; Mon, 24 Oct 2022 10:27:43 -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=@linaro.org header.s=google header.b=QCCxpZW7; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234234AbiJXROi (ORCPT + 99 others); Mon, 24 Oct 2022 13:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232988AbiJXRNe (ORCPT ); Mon, 24 Oct 2022 13:13:34 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 131919C7CA for ; Mon, 24 Oct 2022 08:49:01 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id bj12so5894105ejb.13 for ; Mon, 24 Oct 2022 08:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=k8cUhyF+iRbpVm7ZibvpxWN910TkG4qCMbi/DBVKQRg=; b=QCCxpZW74bpelD0cNFpuKewanqSBjPB7XKJWDhBUTh84B2UhnfiEX7GS+upegiuLBN GnCLEiGyh2+g1Kl3P0dDR8QNa8afxCSggYk5rMFobYArvjr6oqrzFOf9gS3aSWB4ZFda Xp17BhKgvbvZPef2NqX9p2f5t6HDGFD00BTLbhbHBUEGa05KY6EZmP42uKlWCESxSQDU 2Kg9+7nk8CAJQD0XlnwOFeQBBR0e0NvmzklW0Yz6WsNRJ+5/iRgp2e+8v/YGH2Opus7Q DrQdCkgbinCnYan3+pBpZfZw1E5RRsY1RLLRy1yybVUMPQ1b+5k/ni9Kr73H8v8XF5nd 2tYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k8cUhyF+iRbpVm7ZibvpxWN910TkG4qCMbi/DBVKQRg=; b=j97L9XyQ5GfNpsaYwzeuI+9MRQTPCxOdiMUEp7EFWZkJz3o/GXi5pldQtJVhESXLWW sXhqqqECvaO8eueolXr1rgRGRYA/XNsraBZ/tqSpZbH1M3qR6CaWvhSRAhNYxfsWcv9E jah9smG9C7JaeVflrY6utZiAmJL41NneqPH59oVSfg9FuikoIlwLA0k35S+jIYqTUIzh HPGNPzxnR4HcgjaQxotOI+PeIFjYypK52Yg5ziDQpx6sECAxoy5Q4PuK3zkyKGYSRIcv 2sJ/oRsBazPInkC23p6nK0BiB8LIIWwR70XAN6d8KCQK++DCfyeyFx5VC43naPBN+Pj8 /BLQ== X-Gm-Message-State: ACrzQf3ynVxkLudWafQuEXzCe9TtCM/vISBl8cczTvK8Yci6WItuaawa pnDsT5meCxE88nQmWtmrMUCZiy9rTKmSwIeJ1bF6BA== X-Received: by 2002:a17:907:5c2:b0:77e:def7:65d8 with SMTP id wg2-20020a17090705c200b0077edef765d8mr28634968ejb.487.1666626461004; Mon, 24 Oct 2022 08:47:41 -0700 (PDT) MIME-Version: 1.0 References: <1ed8351c2cb4911fcda21b97f7a7b089e955c301.1666357434.git.mazziesaccount@gmail.com> In-Reply-To: From: Robert Foss Date: Mon, 24 Oct 2022 17:47:29 +0200 Message-ID: Subject: Re: [PATCH v4 2/4] gpu: drm: sii902x: Use devm_regulator_bulk_get_enable() To: Matti Vaittinen Cc: Matti Vaittinen , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Michael Hennerich , Jean Delvare , Guenter Roeck , Liam Girdwood , Mark Brown , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Fri, 21 Oct 2022 at 15:24, Matti Vaittinen wrote: > > On 10/21/22 16:18, Matti Vaittinen wrote: > > Simplify using devm_regulator_bulk_get_enable() > > > > Signed-off-by: Matti Vaittinen > > Reviewed-by: Robert Foss > > Robert, I did slightly modify the return from probe when using the > dev_err_probe(). I still decided to keep your RBT - please let me know > if you disagree. Not a problem. In fact, feel free to upgrade it to an acked-by, to simplify merging this series. Acked-by: Robert Foss > > Eg, this: > > - if (ret < 0) { > > - dev_err_probe(dev, ret, "Failed to enable supplies"); > > - return ret; > > - } > > was converted to: > > if (ret < 0) > > + return dev_err_probe(dev, ret, "Failed to enable supplies"); > > Yours > -- Matti > > -- > Matti Vaittinen > Linux kernel developer at ROHM Semiconductors > Oulu Finland > > ~~ When things go utterly wrong vim users can always type :help! ~~ >