Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13290470pxu; Sun, 3 Jan 2021 09:05:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIvzvL4zjhVBYJuLKuB4yTr5Tl/rhlLHz3peXOcCjlhwyl5VTyenQTeU9EcbwZdK33ZKWB X-Received: by 2002:a17:906:3b8b:: with SMTP id u11mr62994062ejf.489.1609693527983; Sun, 03 Jan 2021 09:05:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609693527; cv=none; d=google.com; s=arc-20160816; b=y8qBKln2idiesKn5J0v+w3cENHsH64LdjUxBnI1JE39TuUqLIrs+kSRV+Jpqw44h7z GLt2phszU/4pPtf+mUipymsHtGQE/cDrmx1z0cWj20gBiMVtjell3s1ZhCKAf5QDR7Qs y69OHwvi2mMGlh84oW0SoWlfiUfBcGrVDBaxm7cszzhhUQ4zsch5/i4P+v8AG7zRXLpG C8ub21Mfn16tALntIizzOaKzaDmAyh6BClO2S+rEE/PJX1KET0u4Ag9PJtggdW+xwrrm jvJH5gWIL1b8scibkOehFoQlhX1G+tiGAAgVhIOaUryhhxMw4IPw94Uz1Kc1vHLSEo9k rCOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=k1aRDcbBG3mRHaeKBTVSperXXNk6AyaNqHYz5R0wfuo=; b=ql3uOlbCJsFYDw+XT0+v0jO2EgJaoACNzg+BJsUTlGBNWued7pOelREr7KKLBKWL7T mya9XM+a0Y+GF14uH22s5jq9+JUvH3P1uUxwdvS6A4SXpjdou5N0NC831IqJTWweRyiB qIA719BaysndhQOny/l39wDylxH37nymX8/4pla8kVf6gATwx0nIGGG1hh+J3iTN7EWv oN8c8gq9GSezTUzo3e1Qy2ohwVn6o7x03LXDmVCL0eNCrZr3WqTbEbgWmReTzEBAN4/M fKoVR+DWbqo76I4sd2jtwnFv/6+cj9JToR90PWpfiyrRjwUVC2LD63xCPwLHC3HtJ/T3 FO3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LMC2ROl0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id am1si26339081ejc.463.2021.01.03.09.05.04; Sun, 03 Jan 2021 09:05:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LMC2ROl0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727318AbhACQ4k (ORCPT + 99 others); Sun, 3 Jan 2021 11:56:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbhACQ4k (ORCPT ); Sun, 3 Jan 2021 11:56:40 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93EBEC061573 for ; Sun, 3 Jan 2021 08:55:59 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id q75so15685437wme.2 for ; Sun, 03 Jan 2021 08:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=k1aRDcbBG3mRHaeKBTVSperXXNk6AyaNqHYz5R0wfuo=; b=LMC2ROl0E7632rImDC/83Favg9udu1eiIshM+zGX05kjPOGA1p9hul1OqyY8gaVS8e O3/52rWPjP8nx7NX0vB5cqZfLQhtUrypHHniBA0XGcTvgZpJY8OieKjQkoBQJz/dWU59 lAtDO7yWU5F1wSyTjkyPjprBkPrstkJbFOsG1S/tQhg5JoDQZzqVCd+8qE0M+IWEKLyL 0FFwYcLH0OoR66O4VyFObgM3UywFvio72+JLSO7rJAPm35PczL+DVewHyPt+tl6U2dSK jwLfbjAz4Hz90A1MzRo5XeJMJU9pd6hPC1WALu9+edtK0GYIUy6kkEcsWZQuPCnMxsVD hNNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=k1aRDcbBG3mRHaeKBTVSperXXNk6AyaNqHYz5R0wfuo=; b=h48dWbwtHlYboLSeuCCna9oi42vBaa8Uszr9q7hOytohMiRJzKNubajINfx3INNMAm xKEKgqPVU/XSOQ6CHnf+VYXeYPmJ+N1unNOkQ5GSUNM4Kkjc/IW8DS1hkfx+Dp4z0VyR asjiWvC//ZXglJtuPJN5+JvqmRRoddscVyG4AIC7mczH8dXUBtCxuP5qUO18ZjvWlemq ahZKVqlDHGPSu00bj21zJjw3Bgf9jowxmGuLx9PvlukWgmkzUooaicZQ72n2154QWwBd RPRJnw0zQOsxk70Zi+kdXpdtzY7slDBtJS83+Lh08oPiDBoCrFoEfkOXYse8fFxKGum/ K1KQ== X-Gm-Message-State: AOAM531tx8aQSHq7oqVqk8FriHtwhcVO6kNtaeJSRimGjWELqwGQL7Di f3v81A3ZReJTVvecElvfd5HRYvLZhRPSa47x X-Received: by 2002:a1c:1bcd:: with SMTP id b196mr23556335wmb.70.1609692957675; Sun, 03 Jan 2021 08:55:57 -0800 (PST) Received: from valhalla.home ([2.29.208.120]) by smtp.gmail.com with ESMTPSA id h9sm31223695wme.11.2021.01.03.08.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jan 2021 08:55:57 -0800 (PST) From: Daniel Scally To: linux-kernel@vger.kernel.org, broonie@kernel.org, lgirdwood@gmail.com Subject: [PATCH] regulator: core.c: Replace references to non-existent function Date: Sun, 3 Jan 2021 16:55:41 +0000 Message-Id: <20210103165541.784360-1-djrscally@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function regulator_set_device_supply() is referenced a few times in comments in regulator/core.c; however this function was removed a long time ago by commit a5766f11cfd3 ("regulator: core - Rework machine API to remove string based functions."). Update those references to point to set_consumer_device_supply(), which replaced the old function. Signed-off-by: Daniel Scally --- drivers/regulator/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index ca03d8e70bd1..fee924158091 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -2020,7 +2020,7 @@ struct regulator *_regulator_get(struct device *dev, const char *id, * Returns a struct regulator corresponding to the regulator producer, * or IS_ERR() condition containing errno. * - * Use of supply names configured via regulator_set_device_supply() is + * Use of supply names configured via set_consumer_device_supply() is * strongly encouraged. It is recommended that the supply name used * should match the name used for the supply and/or the relevant * device pins in the datasheet. @@ -2047,7 +2047,7 @@ EXPORT_SYMBOL_GPL(regulator_get); * regulator off for correct operation of the hardware they are * controlling. * - * Use of supply names configured via regulator_set_device_supply() is + * Use of supply names configured via set_consumer_device_supply() is * strongly encouraged. It is recommended that the supply name used * should match the name used for the supply and/or the relevant * device pins in the datasheet. @@ -2073,7 +2073,7 @@ EXPORT_SYMBOL_GPL(regulator_get_exclusive); * disrupting the operation of drivers that can handle absent * supplies. * - * Use of supply names configured via regulator_set_device_supply() is + * Use of supply names configured via set_consumer_device_supply() is * strongly encouraged. It is recommended that the supply name used * should match the name used for the supply and/or the relevant * device pins in the datasheet. -- 2.25.1