Message ID | cover.1668602942.git.mazziesaccount@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp126967wru; Wed, 16 Nov 2022 05:04:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ZY7bBfipYR3JArJYF2kZkTGR3EoEny22ImVCIBNcUa7lCywroIZ8RMUs7mWMthLbJWH/F X-Received: by 2002:a63:4859:0:b0:46f:5979:8889 with SMTP id x25-20020a634859000000b0046f59798889mr20806301pgk.119.1668603849456; Wed, 16 Nov 2022 05:04:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668603849; cv=none; d=google.com; s=arc-20160816; b=AFEtgX7RUa7P/801rQvm2jrMQlZB5UA/geEr6AoCkpPlQLxzyUEwwlR5JhO/xPT2wl 9w9EOF2FH7vXJxMMJhquzR/npWnmXyiltt96AoxgiVzZZJKjVL26Vx2u42V2zlFEBl75 WdlrKFPDdG2XE3bar6fZbDYXHPksSGGcD22YcPMJNz+9sOEkdQkOj5MvS10JShZJYXfn iu39LavNIH22B/eMd7BGjaqRCnMxXh9vAEtqYPRU1PW5g82uGDbdgLK+HhEsPUU4Li1g qMf/AN0oqUNkH30mlt5b2Z+h9DmfHgXkE1/C4070oZ6pL7qv4xWq46HOQoaIkMbDbc8q L1lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=yj1uHK7HEYHiWFNEA4c6ztqJMkzjkf4XEFeM+LwxtIg=; b=B6XrWNyTL55FJjjm5lZKq1N9fZNGkV0lGc15Fq53BKjVbAPxxQrbgBzbgZB5bgqIqE 8aD1/t/vjpuQUpMg4uCmq8mXUsqtdRhxqJ55f8xVSh+GdIafkjtG5Rr6fyMHH8Wn7B/w zK9yyl44loObbyM9jM14aDCC7PJRHmBExyeag+Sa0HYhzLTJSDshAXxqGxQpueOHYKg3 p32rLsGsKXd5zU8sOTzBT6ZObn5WdchBe/Im4wuy+BjCw6NbJZb2dNtcnEOJ6two+zYQ PZv8O5++dju69REmxIyB34TCcFKYO0e+EUXEvymQi46OG2ZVkrWjZ9DaEIIhNYMxTRGl tyJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DQqtzDKW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e11-20020a170903240b00b0016ee19bc5f9si14575350plo.553.2022.11.16.05.03.43; Wed, 16 Nov 2022 05:04:09 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=DQqtzDKW; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233677AbiKPND0 (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 08:03:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233216AbiKPNDS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 08:03:18 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C067B205C7 for <linux-kernel@vger.kernel.org>; Wed, 16 Nov 2022 05:03:13 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id l12so29366687lfp.6 for <linux-kernel@vger.kernel.org>; Wed, 16 Nov 2022 05:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=yj1uHK7HEYHiWFNEA4c6ztqJMkzjkf4XEFeM+LwxtIg=; b=DQqtzDKWBRTTXrTN9hNrp+mtDefk1sMRvbwnlYah2vXNkxG9puls0fYPV+phkNSdFW tlfwHOcvpqNA18GculZlgXIGwceB/LVIJlVMRIf8G1z0/6CGdTd1VWLUJMsP4tZbVaFS YLYSNYLsZBmUxGis5weeBHTPBW+KWHEhG0hF2k8uXZvRiX1phQBxlAweebBbn5MCDYAf KZPP80JcWP/6zUqVaO2p3aC7OvanvwK1xmSQBsThqwNsfFHpRKEniRUyASzYJsX8VafY I41RtTe4Vq1DAUdY6ZsZlHmgB3Vh826+JdSXO14quqCwX6XhtZeOtni3R+MY5QkXtexS KV0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yj1uHK7HEYHiWFNEA4c6ztqJMkzjkf4XEFeM+LwxtIg=; b=jdRUy7uNnd3XQidQ//YntSvbZ8eBFF19k0Fwkab9+fF77e1qTLSE/G/JZ4g+hjVlbd ppuucsKQSZPdGqUgf+O6HLNBgdO4Bd41UEcqoldU/SUkT+MtPJNPd0z5rY4bBC8tnKtP 79TisrJt1W3I7lB3BQ8PklR9BlNuL9EnSmWo7OdeeDlidaHwcbvAuTwKckQy7W0gmx3e JBCFqTGeBSFXR7fbbS1rtlYqJY8QPvGkz1S4Ai4SCTl+hYAnhDJh5mQbPW6IhMlBOjJT r4y+Z/2AVuScQfCT1cU2NpSxDkGPcq7VVeU09X7W3Paty+M8MnvHBD5Yx9wUo3Sn7TCO kNJg== X-Gm-Message-State: ANoB5pl5bXQzEGH1Isuf3TTEYswcK1YCy+Cf5qz76/q3ICHJx/T9AE/h HZZusATWPA+WlrfrjbtOgNjzt93J9zk= X-Received: by 2002:ac2:55a1:0:b0:494:9680:5036 with SMTP id y1-20020ac255a1000000b0049496805036mr6845823lfg.416.1668603791679; Wed, 16 Nov 2022 05:03:11 -0800 (PST) Received: from dc75zzyyyyyyyyyyyyydt-3.rev.dnainternet.fi (dc75zzyyyyyyyyyyyyydt-3.rev.dnainternet.fi. [2001:14ba:16f3:4a00::7]) by smtp.gmail.com with ESMTPSA id r18-20020a2e8e32000000b0026c4305e5e2sm3002831ljk.53.2022.11.16.05.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 05:03:10 -0800 (PST) Date: Wed, 16 Nov 2022 15:02:41 +0200 From: Matti Vaittinen <mazziesaccount@gmail.com> To: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>, Matti Vaittinen <mazziesaccount@gmail.com> Cc: linux-arm-kernel@lists.infradead.org, Jerome Brunet <jbrunet@baylibre.com>, Robert Foss <robert.foss@linaro.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Andrzej Hajda <andrzej.hajda@intel.com>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Neil Armstrong <neil.armstrong@linaro.org>, Jonas Karlman <jonas@kwiboo.se>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kevin Hilman <khilman@baylibre.com>, Mark Brown <broonie@kernel.org>, linux-amlogic@lists.infradead.org, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Daniel Vetter <daniel@ffwll.ch>, Liam Girdwood <lgirdwood@gmail.com>, David Airlie <airlied@gmail.com> Subject: [PATCH RESEND v4 0/2] Use devm helpers for regulator get and enable Message-ID: <cover.1668602942.git.mazziesaccount@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5Tght3fByM0oHga+" Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749657950035998162?= X-GMAIL-MSGID: =?utf-8?q?1749657950035998162?= |
Series |
Use devm helpers for regulator get and enable
|
|
Message
Matti Vaittinen
Nov. 16, 2022, 1:02 p.m. UTC
Simplify couple of drivers by using the new devm_regulator_*get_enable*() Found these patches when doing some clean-up for my local git. Seems like these two fell through the cracks while other were merged. So, this is a respin of subset of original series v4. These patches were previously part of the series: https://lore.kernel.org/lkml/cover.1660934107.git.mazziesaccount@gmail.com/ "Devm helpers for regulator get and enable". I did keep the patch series versioning even though I changed the series name (subject of this mail) to "Use devm helpers for regulator get and enable". Name was changed because the devm helpers are already in 6.1-rc1. Also, most of the patches in the series are already merged to subsystem trees so this series now contains only the patches that have not yet been merged. I hope they can be now directly taken sirectly into respective subsystem trees as the dependencies should be in v6.1-rc1. Please note that these changes are only compile-tested as I don't have the HW to do proper testing. Thus, reviewing / testing is highly appreciated. Revision history: v3 => v4: - Drop applied patches - rewrite cover-letter - rebase on v6.1-rc1 - split meson and sii902x into own patches as requested. - slightly modify dev_err_probe() return in sii902x. Matti Vaittinen (2): gpu: drm: sii902x: Use devm_regulator_bulk_get_enable() gpu: drm: meson: Use devm_regulator_*get_enable*() drivers/gpu/drm/bridge/sii902x.c | 26 ++++---------------------- drivers/gpu/drm/meson/meson_dw_hdmi.c | 23 +++-------------------- 2 files changed, 7 insertions(+), 42 deletions(-) base-commit: 094226ad94f471a9f19e8f8e7140a09c2625abaa