From patchwork Thu Apr 6 19:41:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 80427 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1273337vqo; Thu, 6 Apr 2023 13:08:37 -0700 (PDT) X-Google-Smtp-Source: AKy350aGLx6UUCYQ/nWeRcCKs/srcgevzj8bnRCjfnQ0H/6eyPH+KDyuKYmuAH7vyH/4mvPb3DD3 X-Received: by 2002:a17:903:32cb:b0:1a2:98b1:1ee2 with SMTP id i11-20020a17090332cb00b001a298b11ee2mr474617plr.15.1680811717624; Thu, 06 Apr 2023 13:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680811717; cv=none; d=google.com; s=arc-20160816; b=l6DNDxBycPv6nwG3ERm0KSuf8Mz3wmwiixUtQoJjsDjKsoiXVwU1sbbqp9/1IHmv5N B/FS3Mz5b19VTXN+uARXssrc1HqvAwoeEL4FYGStarLxUMnI/F/K5VnKpiyGVl5LmGcR kJXkLT8D43epoxR4UhMf1ZlWsqZ9Er/p/ZkSZ9HMSAaJ6rwz4HGeZlZL5eqtq/TgJEOa vjZ8DZrCcKmLZywWsJwZQLLCVlJe4FJUYXVVpuPPqExV+HO+42Tfrxwp7ZYDThe1Rlea 3u5YWfziePnqTlctazVbOJukuIE6SFTjle5JMZQE8cX1zHZr28k2pQ6Xn+4XVJ0LCq6y l3bQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3025jqnqBpaA7qkvwONR5ovPWRk8DLhch3emVgyCPGI=; b=Mi87LKa9kKnwm29BYkM2W1YSKy13dy6J4mPJGCMxslKINTDnaQ/vRsYqYQXe3dTJuK 1qfHAz4hn+bACp/KBmFU9/irKYQji+BnTfbFn6CCJ80TPmiHG57wA33Zi3AMY9agxO5X hSXyYdO+cfdifF06vZp7NnvezV/LEqA9u1913J7znSSNhlUrjW82Mlc9QKdXvkzyLYKq XZq/1DMIA26isJo/qXTrW3zSzpU6t2EPX4mmsqGzy8hsiNZh1Cmsg+ggaRBRZm2nClRW NY2NbS3LCxO1lyQsxtCz6yL+vxXBveRzaK6LhYvhtUkaHYryg47GdEQXDxiytqljcfk3 Z4Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="PHm/GIAi"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a170902ecc600b001a04212a4b1si2440446plh.439.2023.04.06.13.08.25; Thu, 06 Apr 2023 13:08:37 -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=@collabora.com header.s=mail header.b="PHm/GIAi"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237763AbjDFTmX (ORCPT + 99 others); Thu, 6 Apr 2023 15:42:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237575AbjDFTmR (ORCPT ); Thu, 6 Apr 2023 15:42:17 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28280170A; Thu, 6 Apr 2023 12:42:16 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id AB51C66031C7; Thu, 6 Apr 2023 20:42:14 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680810134; bh=iPoOGVI0NPGMRksIN5FgAEe90yrWeul7So9tDiTWunw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PHm/GIAiBdMaG9xwViY0RqCXDHLoB5k9YTFnSgggVzds6JXpYGV7N9ye39RDjJnPX q8/YmV6BikN+n5PAajhumVpoIXPNaQczpMTsOgmphRKFvxRj6U1u9qKKvDnUrJpt/c eCrF9mHbmjiUwE+kJmqs2ehyVrIhau+420FuDxbzaaIiy/pCf2ib1Vy5DXsTcDwwLE wufCjcKdeanfWDJogxZbZGrxqVB8M+vW/rxcWLxXphJii6F0imakdO5fwg9w90iQOB 6+VRSayeJG2doCbhEju+ceojL41o57mkzAzA6pYX1Z737TbaAtEkL3VbpE2itN1Ojn 89oHg1/topL0w== From: Cristian Ciocaltea To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Bjorn Andersson , Joseph Chen , Ezequiel Garcia Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel@collabora.com Subject: [PATCH v3 4/8] regulator: fan53555: Remove unused *_SLEW_SHIFT definitions Date: Thu, 6 Apr 2023 22:41:54 +0300 Message-Id: <20230406194158.963352-5-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230406194158.963352-1-cristian.ciocaltea@collabora.com> References: <20230406194158.963352-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762458827128283428?= X-GMAIL-MSGID: =?utf-8?q?1762458827128283428?= Commit b61ac767db4d ("regulator: fan53555: Convert to use regulator_set_ramp_delay_regmap") removed the slew_shift member from struct fan53555_device_info, hence the {CTL,TCS}_SLEW_SHIFT definitions remained unused. Drop them. Signed-off-by: Cristian Ciocaltea --- drivers/regulator/fan53555.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 4d2104c3a077..68ebcd4ccef7 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c @@ -49,7 +49,6 @@ /* Control bit definitions */ #define CTL_OUTPUT_DISCHG (1 << 7) #define CTL_SLEW_MASK (0x7 << 4) -#define CTL_SLEW_SHIFT 4 #define CTL_RESET (1 << 2) #define CTL_MODE_VSEL0_MODE BIT(0) #define CTL_MODE_VSEL1_MODE BIT(1) @@ -60,7 +59,6 @@ #define TCS_VSEL0_MODE (1 << 7) #define TCS_VSEL1_MODE (1 << 6) -#define TCS_SLEW_SHIFT 3 #define TCS_SLEW_MASK GENMASK(4, 3) enum fan53555_vendor {