Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8336737ybn; Tue, 1 Oct 2019 06:47:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUp87cea65WK5rGfNf8T+VZqh0CCbkOSAijFySeWZqBLvTLbt5bbfVePszuWYUDMPXP5RN X-Received: by 2002:a17:906:bcd6:: with SMTP id lw22mr23920129ejb.270.1569937650167; Tue, 01 Oct 2019 06:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569937650; cv=none; d=google.com; s=arc-20160816; b=x8zIU5x5taQEGlIe5VVfRh6aQiRKifANoukUuKccty9eSvUR7yuNnwB9mV3L/3CKYa 2RG7XamKt5JePsZ3lAn3HkdBsrJZu2gVeAgEY/wCnMHwDBVYsgamg42nYR/SjJDjIH2L 6XDOYq/96M1xog20zmYNMzc7+LmsD7VdH0Ueut5cn36/o1mBnIYdLjnsb7Rt8UE7DLgZ 5/Sh7KqxdCpZcx17P1Pl28aK97xMDQM1bEtr0qTrdFiphA4/PzTz0O1egzB/6lrWYt9A PhHUnUi67brICoZKyX+AUFFpUDzDX27nftLSP1zdESHOc5PSpLzB48W8owJKQkK1/2nH GvRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=w7BEQ9sUsn6D/1NoT2B9gBAf78ahn+6oAXHVOe5nVKY=; b=EweI7Tx8MPn9MzOxlTeQMtLiLv0L6o13JH8JWRaffzfeeWJpzLJdzreDqJ1iJqSSCQ jGi+EpTHBFxgTUPUHMLbc3IwHkQYyoimamos64d9bBlO/pElUSoyzkkrwVWHJPgR9yGy uCELAnopbsUD7UbFibsF9rHYBIkuMADCotwavc9VloDf8vkVE5V3z08cZaRkwFK91Sdp BPas4nh1oWRD68Yn4JPzLjMqRSPfpKBjo5AFJlMxiisXnNbxOEgl9VFE6ypXCyuL3CQs zmfKx/STMicTvagOgJue5zaz4SpWNVoZMTEjZT0YtwF7x5wankrGc+nWL7/r24XP9CaE G3aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="Hbx/4xlv"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=opensource.cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g21si9128587edq.289.2019.10.01.06.47.04; Tue, 01 Oct 2019 06:47:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="Hbx/4xlv"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=opensource.cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388720AbfJANq3 (ORCPT + 99 others); Tue, 1 Oct 2019 09:46:29 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:32860 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726152AbfJANq2 (ORCPT ); Tue, 1 Oct 2019 09:46:28 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x91DibK1023820; Tue, 1 Oct 2019 08:46:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=PODMain02222019; bh=w7BEQ9sUsn6D/1NoT2B9gBAf78ahn+6oAXHVOe5nVKY=; b=Hbx/4xlvAuPhqHX67K8dl9c8dlWGYvwEQkUXQyBNtcfH07p3AdaINxN+wbCZdEcKdXbw rUP8745Y6yHuYiU/03Jydn7y4ZWYnfoXajBMRBWkNKXwE8M1B4Fh5VaydDt1JqkXyWkF XhjOW2b8JJxC6X14mlZBOy7Yv20vcqthFDusj8FdRBwSoVT+BCZJseZooImxpqYMP9yg XxSzupddWlWFekFYRNi19ctU+UnQmwQJf7zUofCzk2bnYKLi3N5qJAz6wkFSoFK4WgDz He/lf+mWw3cyEnysKhj3mk4lXk03+fWE+ig+7Ty+t6qT0x72oEkemN0E7FpGu59mLwrE Sw== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 2va4x4ncr7-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 01 Oct 2019 08:46:19 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Tue, 1 Oct 2019 14:46:17 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Tue, 1 Oct 2019 14:46:17 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id CA6312A1; Tue, 1 Oct 2019 13:46:17 +0000 (UTC) From: Charles Keepax To: CC: , , , , Subject: [PATCH 1/3] mfd: wm8998: Remove some unused registers Date: Tue, 1 Oct 2019 14:46:15 +0100 Message-ID: <20191001134617.12093-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=732 malwarescore=0 adultscore=0 phishscore=0 impostorscore=0 priorityscore=1501 suspectscore=1 bulkscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910010125 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Charles Keepax --- Patch is new to the series. Thanks, Charles drivers/mfd/wm8998-tables.c | 12 ------------ include/linux/mfd/arizona/registers.h | 7 ------- 2 files changed, 19 deletions(-) diff --git a/drivers/mfd/wm8998-tables.c b/drivers/mfd/wm8998-tables.c index ebf0eadd2075c..9b34a6d760949 100644 --- a/drivers/mfd/wm8998-tables.c +++ b/drivers/mfd/wm8998-tables.c @@ -806,12 +806,6 @@ static const struct reg_default wm8998_reg_default[] = { { 0x00000EF3, 0x0000 }, /* R3827 - ISRC 2 CTRL 1 */ { 0x00000EF4, 0x0001 }, /* R3828 - ISRC 2 CTRL 2 */ { 0x00000EF5, 0x0000 }, /* R3829 - ISRC 2 CTRL 3 */ - { 0x00001700, 0x0000 }, /* R5888 - FRF_COEFF_1 */ - { 0x00001701, 0x0000 }, /* R5889 - FRF_COEFF_2 */ - { 0x00001702, 0x0000 }, /* R5890 - FRF_COEFF_3 */ - { 0x00001703, 0x0000 }, /* R5891 - FRF_COEFF_4 */ - { 0x00001704, 0x0000 }, /* R5892 - DAC_COMP_1 */ - { 0x00001705, 0x0000 }, /* R5893 - DAC_COMP_2 */ }; static bool wm8998_readable_register(struct device *dev, unsigned int reg) @@ -1492,12 +1486,6 @@ static bool wm8998_readable_register(struct device *dev, unsigned int reg) case ARIZONA_ISRC_2_CTRL_1: case ARIZONA_ISRC_2_CTRL_2: case ARIZONA_ISRC_2_CTRL_3: - case ARIZONA_FRF_COEFF_1: - case ARIZONA_FRF_COEFF_2: - case ARIZONA_FRF_COEFF_3: - case ARIZONA_FRF_COEFF_4: - case ARIZONA_V2_DAC_COMP_1: - case ARIZONA_V2_DAC_COMP_2: return true; default: return false; diff --git a/include/linux/mfd/arizona/registers.h b/include/linux/mfd/arizona/registers.h index bb1a2530ae279..49e24d1de8d47 100644 --- a/include/linux/mfd/arizona/registers.h +++ b/include/linux/mfd/arizona/registers.h @@ -1186,13 +1186,6 @@ #define ARIZONA_DSP4_SCRATCH_1 0x1441 #define ARIZONA_DSP4_SCRATCH_2 0x1442 #define ARIZONA_DSP4_SCRATCH_3 0x1443 -#define ARIZONA_FRF_COEFF_1 0x1700 -#define ARIZONA_FRF_COEFF_2 0x1701 -#define ARIZONA_FRF_COEFF_3 0x1702 -#define ARIZONA_FRF_COEFF_4 0x1703 -#define ARIZONA_V2_DAC_COMP_1 0x1704 -#define ARIZONA_V2_DAC_COMP_2 0x1705 - /* * Field Definitions. -- 2.11.0