From patchwork Fri Nov 17 13:38:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 10062727 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8FC1360352 for ; Fri, 17 Nov 2017 13:39:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EF102ACC5 for ; Fri, 17 Nov 2017 13:39:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 739512ACC7; Fri, 17 Nov 2017 13:39:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C25C42ACC5 for ; Fri, 17 Nov 2017 13:39:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XvRZml4NojT2094JgKtXSrogYdpv0WhIrgcg63N2n5Y=; b=muxahPm4UegaEt g0npCd8gpuO70Mj89vWPPOsj/NjqdSZPFjTsmxOYwvk/85u0zLv3FFqDyJW8IrSidwOTEINDG3ARe B8E9DzoaNVzrjbNDdybO2t+Kw1Z4iZmsqAZDZnJJeXsa37Fg0XpUaKaQhd0B2fZE9LN7uLB8uDzSu LojHlpvZQ9+sfSZUOruz4b3AAVxtCFYr8QDjzjaQgCoA8vvvKJnHDNRG8WZFhyi3seqwmmv/4TQ1+ b4n0MWtzHEm97QLbvZBCN14xLp7R1BOtpzMNUEyKn4K3Z2C4XnGz1RYlmqjq7zYjvnM/iQg/qrQ+Q JSvJaVRa/u48y/3rhQlQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eFgrb-0006sL-RB; Fri, 17 Nov 2017 13:39:23 +0000 Received: from mail-sn1nam01on0085.outbound.protection.outlook.com ([104.47.32.85] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFgrW-0006WQ-8h for linux-arm-kernel@lists.infradead.org; Fri, 17 Nov 2017 13:39:21 +0000 Received: from MWHPR03CA0038.namprd03.prod.outlook.com (10.174.173.155) by CY4PR03MB2695.namprd03.prod.outlook.com (10.173.43.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.218.12; Fri, 17 Nov 2017 13:38:42 +0000 Received: from BN1AFFO11FD048.protection.gbl (2a01:111:f400:7c10::184) by MWHPR03CA0038.outlook.office365.com (2603:10b6:301:3b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.239.5 via Frontend Transport; Fri, 17 Nov 2017 13:38:41 +0000 Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD048.mail.protection.outlook.com (10.58.53.63) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.197.9 via Frontend Transport; Fri, 17 Nov 2017 13:38:41 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.17]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vAHDcbAk004692; Fri, 17 Nov 2017 06:38:37 -0700 From: To: , Subject: [PATCH 01/10] staging: fsl-mc: drop unused dpcon APIs Date: Fri, 17 Nov 2017 15:38:25 +0200 Message-ID: <20171117133834.4635-1-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131553995217238522; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7966004)(346002)(39860400002)(376002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(4326008)(5003940100001)(50466002)(33646002)(2876002)(16586007)(97736004)(8676002)(81166006)(81156014)(5660300001)(575784001)(1076002)(356003)(498600001)(47776003)(36756003)(77096006)(68736007)(50226002)(39060400002)(86362001)(104016004)(305945005)(7416002)(50986999)(6636002)(8936002)(53936002)(106466001)(110136005)(105606002)(54906003)(6666003)(316002)(48376002)(86152003)(2906002)(189998001)(8656006); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2695; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD048; 1:gAobznIFO2hV6diNgAF89z90vxXRORYBRHbyWp19JDJrgu29YF9WP0nmxMlJF222YF+GK1tMDPOAjYG0t3ZMKu+QYMYaQKDkWEKn8NipOc+NxJzbKfmsK2Av4a4lD4Q2 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ceb51b53-9b9c-4bb0-989b-08d52dc08429 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603258); SRVR:CY4PR03MB2695; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2695; 3:Z0zWwkhRxfLZx4kxlPydSvq5V1nZbF9m/t1H9tApOH7Dq8UbYNKHk+zMGpMd/dIXbd1ZcqncnsCqHWH3hsybuYdZ7YTtC3v4PqwjDORYunYZL1HlPBvPJLqlL8Z4j/qGYD+SX6J05kS3w6KjhKO/CVrTbqXgKLW9ftq/5disidvDVKe0KATPHSy5x7xaNIZGHX+9g0Oj9aUPKhfj+wKRWP87NIUYCADBdwWvdiHGGhYPteWf4D60nJjj29K56Lk01ZBsD0lDTNQRxSo5HTsvjTbDvJF+x2Oalahj071Sh+MvWW9fFxqUpEgKoR7hmQqdrCAFFnGKSohN6ZFJpdFzxgE+92stqn2APQwEPattjAc=; 25:dEjKoOL1ZEOwCnlIr6WQ6fdF10YcEaAup95OH3TNp6zI88qHM5KOCNd5Sl4TTv2Pt8qrrhwiT56zSUC1rAQM74KGCV17A0EHn1NdrD71pJZRgQBjLCkroNHfYx4Vb7cUh2ZPDMgCcZAQtq1inpMzT4A9gjdc5OBIMEvMhuHnZhubJJFBT51bUlpTmV9AzTtU2EOmUw/3Bv7aD4pKONWi2wxSJ0V5JPGRbk1Cx1U876Z+mi965g9pG2er1AtsVNgd8jqVkOVL9T5GU93AWCBYnpw17z1UnC0Kuzd6UBnu05iN+sGbL9M8B2RfXYcOttoFUAk5dNrrsqLaRHx8jhhIuQ== X-MS-TrafficTypeDiagnostic: CY4PR03MB2695: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2695; 31:/PwzxJ3UKGCi583vedM+Gyu0xOqmXJA17tVBqRZRtKzLZmv4Fdg7xaQ5sA7Q0g1eSlwpxA6wrEk7pZv2Rcvva9VHyKkpuU5bRwEfHb5R24PSgKBSzsiUMZEpnbQ6RVm1DzxhP1q4iC7A1PRK/IPxJ/CpXTjrnT+T/fDZ/mIoMgjiK9AJ7XfYLZjkdBFH1f6zr2a++vl6tMNZSviPHnTc/O5bQBotn7mA+c36UIjkuL0=; 4:6LlxneJdgfBpKmbb3gn0hlDzVt+vqnIt6ltyqVXtsIvL3zzTQae6dCT77pt91UJrUuYMZJOgj3gpQvJDkoz96Pln9xBalD4YwV8T2uE4UZ35HnuascVf4AcCMZITLFy7N7UPOsz9VELymlMTG/urdBN9qoUoecPyzn6k7cM7dejKF6DlX+WHLa3zpKCCAdo16tlwypW0xlcUBto1U+Pj3ET2HR7jxZHNm5+Qb6awdWHkCdktmem9omf+uaMo0NEyGRt9TsI6t5+gS1HvI8Xqt4k4+b9SeFiasAQwRRawWoHGL8YhlImoX4+IXKqOcEdeJLRONCXWnYUrrLHAEfHmmEPUx/Yq1P5Q+jGf2++0JjU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(3231022)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6096035)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123565025)(20161123559100)(20161123563025)(20161123561025)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2695; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2695; X-Forefront-PRVS: 049486C505 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB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HgafyNaC3ekJ2XZOzaKthR7q+b8jS+DX7DVsOiJLaS3b62I2dpICNW+wVzLKkUUWoDwINs/P6R5A6jF3KD9cQ9HhnN3dgVYgguWU=; 7:ZxMuLZnja6ww+KNPnBEQRgs1xV4VM8Ymw3o2KJjLbBajWbFNdwk9ylWiyiDGr4xsCnWxKQB61j/KpUF+YcoYQq4UQmHs1dJVzAfoi+pg8oRYq8Dg9x3pGFPhuU/f4B3AErcsSHm+T2fLAJ8h+LYDAs2S8932GIpsASkmihL2C+BuVaJnIs9DSWhmdNoTqEjXXYfWF8gsd7Rn6oux+ivjbxSE03D7KEKwyDl3BEoPvt89/5wUerA/jx7HbswvMI+F SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2017 13:38:41.4586 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ceb51b53-9b9c-4bb0-989b-08d52dc08429 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2695 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171117_053918_400009_5B014035 X-CRM114-Status: GOOD ( 11.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, stuyoder@gmail.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, bogdan.purcareata@nxp.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurentiu Tudor Couple of API functions are not used so lets drop them together with the associated structures and defines. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpcon-cmd.h | 6 --- drivers/staging/fsl-mc/bus/dpcon.c | 69 ---------------------------------- drivers/staging/fsl-mc/include/dpcon.h | 10 ----- 3 files changed, 85 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpcon-cmd.h b/drivers/staging/fsl-mc/bus/dpcon-cmd.h index 2bb6698..d2ba819 100644 --- a/drivers/staging/fsl-mc/bus/dpcon-cmd.h +++ b/drivers/staging/fsl-mc/bus/dpcon-cmd.h @@ -45,13 +45,11 @@ /* Command IDs */ #define DPCON_CMDID_CLOSE DPCON_CMD(0x800) #define DPCON_CMDID_OPEN DPCON_CMD(0x808) -#define DPCON_CMDID_GET_API_VERSION DPCON_CMD(0xa08) #define DPCON_CMDID_ENABLE DPCON_CMD(0x002) #define DPCON_CMDID_DISABLE DPCON_CMD(0x003) #define DPCON_CMDID_GET_ATTR DPCON_CMD(0x004) #define DPCON_CMDID_RESET DPCON_CMD(0x005) -#define DPCON_CMDID_IS_ENABLED DPCON_CMD(0x006) #define DPCON_CMDID_SET_NOTIFICATION DPCON_CMD(0x100) @@ -61,10 +59,6 @@ struct dpcon_cmd_open { #define DPCON_ENABLE 1 -struct dpcon_rsp_is_enabled { - u8 enabled; -}; - struct dpcon_rsp_get_attr { /* response word 0 */ __le32 id; diff --git a/drivers/staging/fsl-mc/bus/dpcon.c b/drivers/staging/fsl-mc/bus/dpcon.c index ca1da85..ce7c0bf 100644 --- a/drivers/staging/fsl-mc/bus/dpcon.c +++ b/drivers/staging/fsl-mc/bus/dpcon.c @@ -156,42 +156,6 @@ int dpcon_disable(struct fsl_mc_io *mc_io, EXPORT_SYMBOL(dpcon_disable); /** - * dpcon_is_enabled() - Check if the DPCON is enabled. - * @mc_io: Pointer to MC portal's I/O object - * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' - * @token: Token of DPCON object - * @en: Returns '1' if object is enabled; '0' otherwise - * - * Return: '0' on Success; Error code otherwise. - */ -int dpcon_is_enabled(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 token, - int *en) -{ - struct mc_command cmd = { 0 }; - struct dpcon_rsp_is_enabled *dpcon_rsp; - int err; - - /* prepare command */ - cmd.header = mc_encode_cmd_header(DPCON_CMDID_IS_ENABLED, - cmd_flags, - token); - - /* send command to mc*/ - err = mc_send_command(mc_io, &cmd); - if (err) - return err; - - /* retrieve response parameters */ - dpcon_rsp = (struct dpcon_rsp_is_enabled *)cmd.params; - *en = dpcon_rsp->enabled & DPCON_ENABLE; - - return 0; -} -EXPORT_SYMBOL(dpcon_is_enabled); - -/** * dpcon_reset() - Reset the DPCON, returns the object to initial state. * @mc_io: Pointer to MC portal's I/O object * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' @@ -282,36 +246,3 @@ int dpcon_set_notification(struct fsl_mc_io *mc_io, return mc_send_command(mc_io, &cmd); } EXPORT_SYMBOL(dpcon_set_notification); - -/** - * dpcon_get_api_version - Get Data Path Concentrator API version - * @mc_io: Pointer to MC portal's DPCON object - * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' - * @major_ver: Major version of DPCON API - * @minor_ver: Minor version of DPCON API - * - * Return: '0' on Success; Error code otherwise - */ -int dpcon_get_api_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 *major_ver, - u16 *minor_ver) -{ - struct mc_command cmd = { 0 }; - int err; - - /* prepare command */ - cmd.header = mc_encode_cmd_header(DPCON_CMDID_GET_API_VERSION, - cmd_flags, 0); - - /* send command to mc */ - err = mc_send_command(mc_io, &cmd); - if (err) - return err; - - /* retrieve response parameters */ - mc_cmd_read_api_version(&cmd, major_ver, minor_ver); - - return 0; -} -EXPORT_SYMBOL(dpcon_get_api_version); diff --git a/drivers/staging/fsl-mc/include/dpcon.h b/drivers/staging/fsl-mc/include/dpcon.h index efa2390..425749e 100644 --- a/drivers/staging/fsl-mc/include/dpcon.h +++ b/drivers/staging/fsl-mc/include/dpcon.h @@ -62,11 +62,6 @@ int dpcon_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); -int dpcon_is_enabled(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 token, - int *en); - int dpcon_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); @@ -107,9 +102,4 @@ int dpcon_set_notification(struct fsl_mc_io *mc_io, u16 token, struct dpcon_notification_cfg *cfg); -int dpcon_get_api_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - u16 *major_ver, - u16 *minor_ver); - #endif /* __FSL_DPCON_H */