Message ID | 20230808-descriptors-regulator-v1-4-939b5e84dd18@linaro.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-samsung-soc-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7C69C001DB for <linux-samsung-soc@archiver.kernel.org>; Tue, 8 Aug 2023 20:48:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233250AbjHHUsP (ORCPT <rfc822;linux-samsung-soc@archiver.kernel.org>); Tue, 8 Aug 2023 16:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233904AbjHHUsC (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Tue, 8 Aug 2023 16:48:02 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38C7F41220 for <linux-samsung-soc@vger.kernel.org>; Tue, 8 Aug 2023 09:40:52 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-99bdcade7fbso811823666b.1 for <linux-samsung-soc@vger.kernel.org>; Tue, 08 Aug 2023 09:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691512848; x=1692117648; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=qtIG2M/ca+5GsdX8n1RK00emvWGjV3tMf5tcX7VIHus=; b=gFJH3s3CoTCkV3leqMUbZMzudyki+VKkP1J5hjmm55Ji9tpo+nSZkTexs0oe0W3/nA k/CO9EmlFHvRhrydKxSNFbVYLE1VJct+Co/8h5QWWZxjxhA7wcAhUhv/Xe+He4TJP/1E IKlg9ZIIuEoadufD9OCm3fvXcyovTsDVTzq7be4qfyyTEfKSXaveEYRbBHN89gNwDjpF fdmgg/+OjYaZmoCiKLmkgbqboWBE3BSX64SexJ4WYektYpXt7ZyJ+tOu3HoZFUH18y8W 5N9IWxIyaDybLC3IIH/mVVpXxyDMTJVN8TVhDV7ew+l5WVkUZGOGS4C4IUVz8MXEr04A fFSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691512848; x=1692117648; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qtIG2M/ca+5GsdX8n1RK00emvWGjV3tMf5tcX7VIHus=; b=lp+4Qcgbgkl4UOs20HaUHBNM7gMh/qTzEjXofILt6slBYeg667Z+Ul0JNt+4UtHx3+ eFNDCcp2XjMLSowSAPeTZTk4g3ROxrLqD7bNYy3jZP6KGx2OcEPDip+pbWKG/1bzpRsA dBtkah6ZehtgnOVqxVF49z88QXsbDkxuzYFfbASOPxXAuUDVKQASqwy28MIkxPCHxM0Z 7yDBM/Hhfg5NhEuygRIQXcDLniCbuwOu/PnMp19aiXBuWOR8UHKbw3RsZ42nO8ibAHVk gii+jF18ry0fHNyoyILCHM2KRFX8uRS/OAyDS0tFP8aWs4hBiA8J8DoUaYIOHirOaH1N S/rQ== X-Gm-Message-State: AOJu0YyCjJB4oHm00ThnECkOT0SzWVvkgUd14zCJLSkYSxX2jUsrK2m1 3vwbAFSDL+M6LYf7A1F9tV/OmCYEjWHngQIjJUg= X-Google-Smtp-Source: AGHT+IGabpvcf+YfqqvSp128b6pb/ZcVi3xmONq1O6a4S0szO5ZdOqerklrUaTjPj2ZyYc9Tu1UkPA== X-Received: by 2002:a2e:6817:0:b0:2b5:8a21:5627 with SMTP id c23-20020a2e6817000000b002b58a215627mr9324746lja.51.1691502403287; Tue, 08 Aug 2023 06:46:43 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u23-20020a2e8557000000b002b93d66b82asm2284493ljj.112.2023.08.08.06.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 06:46:42 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> Date: Tue, 08 Aug 2023 15:46:31 +0200 Subject: [PATCH 04/11] regulator: rk808: Drop useless headers MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230808-descriptors-regulator-v1-4-939b5e84dd18@linaro.org> References: <20230808-descriptors-regulator-v1-0-939b5e84dd18@linaro.org> In-Reply-To: <20230808-descriptors-regulator-v1-0-939b5e84dd18@linaro.org> To: Tony Lindgren <tony@atomide.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Claudiu Beznea <claudiu.beznea@microchip.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Matti Vaittinen <mazziesaccount@gmail.com> Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Linus Walleij <linus.walleij@linaro.org> X-Mailer: b4 0.12.3 Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org |
Series |
Regulator legacy GPIO header removal
|
expand
|
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index 460525ed006c..e65339ef47ad 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c @@ -15,10 +15,8 @@ */ #include <linux/delay.h> -#include <linux/gpio.h> #include <linux/module.h> #include <linux/of_device.h> -#include <linux/of_gpio.h> #include <linux/mfd/rk808.h> #include <linux/regulator/driver.h> #include <linux/regulator/of_regulator.h>
The RK808 is already using the proper <linux/gpio/consumer.h> header and includes the legacy headers <linux/gpio.h> and <linux/of_gpio.h> for no reason, drop the includes. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/regulator/rk808-regulator.c | 2 -- 1 file changed, 2 deletions(-)