Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1408909lqa; Mon, 29 Apr 2024 07:46:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwOyQ+/ubteIXfUjuJrp740Co8BskmbgpZg21LRt7gB7h8OYIxnrGcfHK5v1ijms50Ut7TK88bOIW8q8L1TEQ8vrgyqMAfkTFvlX3DVg== X-Google-Smtp-Source: AGHT+IGPm/O+hDNsPpktQTxFtAXou9LAOxSdCPOkgsLKQfq9/loC33DF3E7pbDaBsMJ6iXkdlRtU X-Received: by 2002:ac8:57cd:0:b0:43a:d7ca:ce9d with SMTP id w13-20020ac857cd000000b0043ad7cace9dmr5120060qta.27.1714401978968; Mon, 29 Apr 2024 07:46:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714401978; cv=pass; d=google.com; s=arc-20160816; b=c3efO77s/96gL3NfWAIXD4ZTwyNEW81dpZLJ0G3/5FFVHqZlP5qe8Zjz0ZhAiU/8oN Onzz3DxZX6HMOuRezRwmrhWKcR4erRoptZtGIqbkmR/jQNdkcFYpIW71SOv5zfK0pGdf C/07wbgPCZL7RUcVK3AxJHFqofdTIjNoQZNOVd52bjppZ4+bOAiTvZ+a0OT7OTmmucu6 srZTwcwO8M+CdhRhqi1TpdDRZLZH0lU5mpJxlqN2st5nwDZ0HM5A9PZvRj/Vf70tr4oj R+u75j1jZQ2Azh6aHnL99vkrd5YyZQCMHOxqXIl0p09DuGRlmtkGvrc0VivWhIw2bWd4 5Sjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:dkim-signature; bh=gtOelSgTxQYwF+07kiARfg/p05VKJqALbXkX+1Bh2ks=; fh=9+JPiKUqmiwg7nrgynbn+qu8x0UhUJwyp0gAHVwwYQs=; b=CQSKZZF1kAU9+6HMZbNamSG2+n879SUtEOIQ6Vz5rqDMd+NuR3VvhW7elbVROSxTp1 R6+r+UtGt5iA2PtzPc1imy3cr45kfbKc1E95dDtTP2gQP0c1+OhFjyvgEQvk2kN0XEMt tCGRDLbzAbfFtUKbfYMovxEMQwzdXCxCYkyDFtlweRrCuO+NyDqQRSLqpRm3dcjetHXt nStUkDCISRfXT05tk4X0rD8GobE0kzGcjnmkGjZrA3eHU51b0ijvLvukZPvOL6KI4ABr GJ4GDxr1i8pvOuDbU2QQGgG0cQz+zu0dX09rvQ3aOxW7FZAtMbx/+wSYPf2fZqLZrwJw 6weA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=o8cd8ajn; arc=pass (i=1 spf=pass spfdomain=rere.qmqm.pl dkim=pass dkdomain=rere.qmqm.pl dmarc=pass fromdomain=rere.qmqm.pl); spf=pass (google.com: domain of linux-kernel+bounces-162473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rere.qmqm.pl Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bs14-20020ac86f0e000000b00439d0471430si17886459qtb.307.2024.04.29.07.46.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 07:46:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=o8cd8ajn; arc=pass (i=1 spf=pass spfdomain=rere.qmqm.pl dkim=pass dkdomain=rere.qmqm.pl dmarc=pass fromdomain=rere.qmqm.pl); spf=pass (google.com: domain of linux-kernel+bounces-162473-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rere.qmqm.pl Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AA8FF1C20A6D for ; Mon, 29 Apr 2024 14:46:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C8A28286B; Mon, 29 Apr 2024 14:45:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b="o8cd8ajn" Received: from rere.qmqm.pl (rere.qmqm.pl [91.227.64.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7A7D7EF04 for ; Mon, 29 Apr 2024 14:45:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.227.64.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714401940; cv=none; b=I9JNxhxv4ukCP/cruzwmWnHbrMSJN8FE+xxcp5dxHp+OQSD6wpH9m+s+vNK9zUtRNNXOpe3wOMRl00gPAty3Fyxrtj2P1bTKLrnlqvwePFQKlAC985E2/U/taf5Ubofgwedw2nOAmKey8xRBiY9RW4wysF7vVcAd4ZzYlON03rk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714401940; c=relaxed/simple; bh=ALJ3a2lN8gTuNkfwOUbs2XXgVwKG43Au7jQay+z9jLo=; h=Date:Message-Id:In-Reply-To:References:Subject:MIME-Version: Content-Type:From:To:Cc; b=HdmWb83yvYiRXuSG9CmU02+QSSQQdXM/oG3YbH1peP3OWvLipJ5RqLQnwtSFns3VmbvWhYYWqAyeqQkgaPGZADwNOLffopbgqmdF1khe1Z0lDpLLz4j8CkNrQHgswQkyavCTIkEnU/JYX9s7LNMXCFYJKd5e4LCCYI4393TxR74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rere.qmqm.pl; spf=pass smtp.mailfrom=rere.qmqm.pl; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b=o8cd8ajn; arc=none smtp.client-ip=91.227.64.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rere.qmqm.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rere.qmqm.pl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1714401930; bh=ALJ3a2lN8gTuNkfwOUbs2XXgVwKG43Au7jQay+z9jLo=; h=Date:In-Reply-To:References:Subject:From:To:Cc:From; b=o8cd8ajnyyhrxSSiD6U8g8JnpFXWWK1pMOxNyh2Zt29WreK2PQn6jaT//0yEPloDJ WEzM5EzOKqWWqwuXx1+tpvB7yMtRvqL4oBK2GisXxWXklzKYUQNOFvVQEeDmmhQk4i cJBMDRLT8skn6uETl37+G5lErxMi3oSNcPsVL2NSgQ0bQxpZ2lTypVL1Y5fheVmzeJ tcp9IEmcIdoqN8RaKZFMrTyhSJEq31yOj+ZdUK1cxj67yvt0b0wlKAKS6s+g04bMeo EFtrHsqq8JbuK9RV2BMp5F7RKJ7JqdzeYLxq2N4jSCoIQzYGZ7JuWWdR3jJh3hNIo5 vdqOfwiw35ueQ== Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4VSmMt5bqlzPG; Mon, 29 Apr 2024 16:45:30 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 1.0.5 at mail Date: Mon, 29 Apr 2024 16:45:30 +0200 Message-Id: <80d42ba84110eb04d451f832ba6033955aba90fa.1714399603.git.mirq-linux@rere.qmqm.pl> In-Reply-To: References: Subject: [PATCH v2 07/12] regulator/core: remove regulator_get_init_drvdata() Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= To: Liam Girdwood , Mark Brown Cc: linux-kernel@vger.kernel.org There are no in-tree users. Signed-off-by: Michał Mirosław --- drivers/regulator/core.c | 6 ------ include/linux/regulator/driver.h | 1 - 2 files changed, 7 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index be45983e1d23..efb68a5c85af 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -5955,12 +5955,6 @@ struct regmap *rdev_get_regmap(struct regulator_dev *rdev) } EXPORT_SYMBOL_GPL(rdev_get_regmap); -void *regulator_get_init_drvdata(struct regulator_init_data *reg_init_data) -{ - return reg_init_data->driver_data; -} -EXPORT_SYMBOL_GPL(regulator_get_init_drvdata); - #ifdef CONFIG_DEBUG_FS static int supply_map_show(struct seq_file *sf, void *data) { diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 22a07c0900a4..c1334601cf02 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -753,7 +753,6 @@ int regulator_set_active_discharge_regmap(struct regulator_dev *rdev, int regulator_set_current_limit_regmap(struct regulator_dev *rdev, int min_uA, int max_uA); int regulator_get_current_limit_regmap(struct regulator_dev *rdev); -void *regulator_get_init_drvdata(struct regulator_init_data *reg_init_data); int regulator_find_closest_bigger(unsigned int target, const unsigned int *table, unsigned int num_sel, unsigned int *sel); int regulator_set_ramp_delay_regmap(struct regulator_dev *rdev, int ramp_delay); -- 2.39.2