From patchwork Wed Apr 5 19:47:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 79890 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp552315vqo; Wed, 5 Apr 2023 12:51:08 -0700 (PDT) X-Google-Smtp-Source: AKy350agzRD7mdpn0nc9rgg4dI8vHTSSMTHDCp8Q3ocasxii81PfpVTktqIBymqNmOG9UV3QDwwJ X-Received: by 2002:aa7:c156:0:b0:4fb:2060:4c20 with SMTP id r22-20020aa7c156000000b004fb20604c20mr3163015edp.31.1680724268495; Wed, 05 Apr 2023 12:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680724268; cv=none; d=google.com; s=arc-20160816; b=QZ2oLQKfOWgCfwpljSGkyt6ZLoFpREUk5gPHC5MsSA9wG5yxuYRnsAVO42iFFVdqmM OCWxWDA5TEMacZVHGFVMmmPGF19NobDkTlEBHgxFjsWjfBvVgq4nE+4Klu2JvfsUOnYi 9dL637UUBs+pT34V6qHZgCpWQNBBOt6Il2Xc2INdKcvPo7K7MwHM9AP24saKbMtjyYf5 YVbgTHV/Lz+viuUgG8QG++4cjf571NM2IMatPvnkamDsN16visxn1OnH01fEotdft/Ph R5hr1iCDp/cK8J9rYQvpdPtlc3ov0Yv7eGqyuZRM+jxZJE3TlOA1t7UKgornZoeQIIjG indw== 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=C/rvKUYa5O4LGVk2kW++XDMA0eBtUOdMVHacBVdzQfr5wILZ9p5jSeh0Ml31Oe6V6w sowHOTW7qT3U2WpgQoW6MpnVVXPz/3vykLF2DtNPIf0u2Uvp5vrtKNlKw9t4aXqQ/4DK kSTVi1uZsNDEtRKw8jG6cqwG+E6FWAt8rIo+eHJGBQ4RRiqEmTYN1L70FsKHcqztQ4F5 APj2a3COmXecFk4C95uelMIezhcUnbnWucyfSbIj2Jej/E88KJvZqb6NgM8bBhRHY4S7 /a0WO1mNFm4ekCRoY/QfQr46YwThwEA8dGTaA++a2hH36BtPhzhRvOJXnykmYtiNtTvZ h7hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="IM1kI/vO"; 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 b15-20020aa7cd0f000000b004c698b50197si1669777edw.342.2023.04.05.12.50.43; Wed, 05 Apr 2023 12:51:08 -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="IM1kI/vO"; 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 S233117AbjDETsS (ORCPT + 99 others); Wed, 5 Apr 2023 15:48:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233852AbjDETsG (ORCPT ); Wed, 5 Apr 2023 15:48:06 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69396E47; Wed, 5 Apr 2023 12:48:01 -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 480B06603197; Wed, 5 Apr 2023 20:47:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680724079; bh=iPoOGVI0NPGMRksIN5FgAEe90yrWeul7So9tDiTWunw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IM1kI/vOGqYbUP9Yx/v+QlMUos/rtTnHgi7kxxktXihcWQpw0fmPPbXFXUL8uHPDB N0qms8J6ivKUze8Y0FGgFO+aGxlFtaJUc7vygSmo5/zhdHsW+wV73uswdPRMvRdLhi oY87bXoNGGPzTcFqK+zuU66rvK4h04ZEETSovNY9SSSjPV8b8+L8br3zXn8wAA8+k5 +PvsizxGSQj5Lt/JS+Ip7fc6xNbvRUERUtHLMwbuxIZQ2ERqmBgxWnG6Y2ykMiHfOs sWOFUKXHeT9LIoPTw/L4i9fIpwbNx72C/v+1IqX48EQ6cLv/qjWzBa/vVLRUK7BbdN s7zDvHfnZet4w== 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 4/8] regulator: fan53555: Remove unused *_SLEW_SHIFT definitions Date: Wed, 5 Apr 2023 22:47:17 +0300 Message-Id: <20230405194721.821536-5-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230405194721.821536-1-cristian.ciocaltea@collabora.com> References: <20230405194721.821536-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?1762367130134593086?= X-GMAIL-MSGID: =?utf-8?q?1762367130134593086?= 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 {