From patchwork Tue Feb 7 14:15:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9560239 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 20A476047A for ; Tue, 7 Feb 2017 14:17:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F57D28422 for ; Tue, 7 Feb 2017 14:17:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0232428426; Tue, 7 Feb 2017 14:17:15 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00 autolearn=ham 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 8A41028422 for ; Tue, 7 Feb 2017 14:17:15 +0000 (UTC) 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 1cb6Zu-0003rj-Mc; Tue, 07 Feb 2017 14:17:06 +0000 Received: from mail-by2nam01on0053.outbound.protection.outlook.com ([104.47.34.53] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cb6Yn-0002X9-85 for linux-arm-kernel@lists.infradead.org; Tue, 07 Feb 2017 14:16:03 +0000 Received: from CY1PR03CA0036.namprd03.prod.outlook.com (10.174.128.46) by CY4PR03MB2952.namprd03.prod.outlook.com (10.175.116.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Tue, 7 Feb 2017 14:15:36 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::195) by CY1PR03CA0036.outlook.office365.com (2603:10b6:600::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16 via Frontend Transport; Tue, 7 Feb 2017 14:15:36 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; 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 BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.888.7 via Frontend Transport; Tue, 7 Feb 2017 14:15:35 +0000 Received: from rhuath.am.freescale.net (rhuath.am.freescale.net [10.81.117.102]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v17EFXHc023812; Tue, 7 Feb 2017 07:15:34 -0700 From: To: Subject: [PATCH 07/10] staging: fsl-mc: dpmng: drop unused prototype Date: Tue, 7 Feb 2017 08:15:27 -0600 Message-ID: <20170207141530.12979-8-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170207141530.12979-1-laurentiu.tudor@nxp.com> References: <20170207141530.12979-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131309505358039359; (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)(7916002)(336005)(39850400002)(39400400002)(39450400003)(39410400002)(39860400002)(39840400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(4326007)(86362001)(2876002)(38730400002)(97736004)(575784001)(68736007)(5660300001)(92566002)(105606002)(2906002)(8656002)(50226002)(77096006)(8936002)(189998001)(110136004)(8676002)(1076002)(50986999)(86152003)(54906002)(81156014)(81166006)(6666003)(85426001)(76176999)(2950100002)(6916009)(356003)(47776003)(33646002)(36756003)(305945005)(104016004)(48376002)(50466002)(626004)(53936002)(106466001)(5003940100001)(7416002)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2952; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD012; 1:HhKUVD46BfP2iIbX2FA0hr+FMYGU/h0t01jiHcE+GMKqr4Dz74lgzjSzVui2HRtILkrlJEp0ZkVmOby4dtqBPoqjdaFGkGRYeJzQWo90BYaSrtJVwCRm1VklvV9poZyjXf4uDU3TmV068vKXPWq+4MDX4vTLXsvtc9s4dF6I1NuWcFXYQuFKLUy+bgCMTsi1QmfPWGhDGV+IajdFujryb2qhqcVuRcVubw6YJ+/i7c+FMAKgL+PsByJjW14aT3ObL/4DIDCy7hTi/e0hoVS3EAPKolvBoIAOgsyWazPS/uyhxK33ULWhMjUXBFLJxIKhTacnJK2GFof+GVd6VyVDZcvlE5bfO/jfkbIFsdaFKvu6fDrx8kf90obdeKVS1X6wFjnxFh3I0Fz/JJ0g3sTPFAVcFGjWP1aCUbjBP6/9mvEJlmlg/JI5df5Rko+Kf8H+ob2rFQMKsppIwmyWIDvQcXFCgp341+55WEHr4ml+iA4jFFOhJpjibSSeunwwtVpXklxi7GOy6HQmiprGpKW/stHZiQCpv6kUOvWpEYk0nTIXoP52GOJsCYsCp2eak3d2NOctJLb7FWvZqEiKHx8EEVNUvrWZXXIF/zZhvFvaDr0rpEoYhe36moLn9XLnw+Ke9CM4ffgXKEFtfKHbNRCvi9Z79Tbn4xvyOuWT4kX75nPITvmZgC0YXCkuhJEZG1ThS8F/PQKSm36TpZ0yOuuxhc6NIR8BLs7nVj+bJKCBNBtV2uSHuEg3JJJNBoZEusW9WyTgtDq0VSZgyjYK1nPfgA== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 4c544cda-64ea-4ec2-7e37-08d44f63c8e3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY4PR03MB2952; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2952; 3:E2KeXll/efQJoA20/1Trrv2IyU8/GW6v43mOTBYCT0lCtEF0LTH8dG/umqJfvCXjWFmWrfnSySL/MV1Q/wLRbyoiIP4vF2voOxgGqPo+0UpHRuvG9aELpDBmFCk+G2JdC5w/57pybWWuNcM8MaOHjGtLgt/2XZleKDS7SP+Y0Eb2b/rADgpnzF3Ht5gzS3uD4Na6OpFUGVxrPhhN8A+8ES4w5jo/SdBMwm3HlOEc13h9dF/ACG95yHsojAv76nVsjMkAGT2rj7zc70V1jL29TnJXucumgnbwzLP7kd41ff3YHZrOSmKV5PIIz1BaoK912HraklBgIqnScxbZoRFzRb3Z0PsTMregCGHqqJzBZoSfAzEVAPCYegkdqRukCHKc; 25:EDHYJLRkzzxbga6146Ah9tZ4dSAZgSy1Gbd19gTqhMxOsZsaKvGuEmjS92OsX2ioDMsfTXGlv7vU2Nwzq4+VNSMJjrQGgKuazBjR5Qkgjh/Zkdv0FX2mqr4vsWH3bTlD8/SarazvzRkzkc+KrZGeweJM7JvTZmlTzxwtdB5UwufqX0ze3mvTH6N68wgylH+TvqHnBwPYXnMy58LE82wAWSSmnB4/svtjVoTm9E9fS1SqI2xujAFh6gHnJRkzHOuhTXLpkvDcVriNw+2po1JUOQEa2eYUqYiu51oeGr8oAYRrAfxYU21UUNlGftIVugVNd1u1bH0JJGRNVjqx5NUUmAEYRf59FvzVsQkHs/YWE5If99pWv8rmq3mYIwf3fo4zj6Kmg9eRNncOR4KFiJVhdteZ2+F4XTCeQ1alTcAp1PMuVy2xAocAnhIhsfw7y01FLzqaMpibEuYmBVbrph894g== X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2952; 31:+qhUqsOeC3nYuVFf84Dkzng9GP81eWmDAjfLIrBkuWxYBW3AMy3E/stxSsfq9MILrU22imJxaSdT936ViMH6ynrEEuSlTD+KPVcSvbL4juZqptW8WLrpBgsQgPqgpHmPSJxESmP0rkg+vl5Kls2mHaIl2HmpE4pbSNo3Syrs2PWS0tfSnKmWcHcnvwCkuEdOf3y6N2Xk7b8XSt9mqyRIEoFzQi6HkzM0uEu8ub5blus1htgdsCBvXGySMF1smFcvTxYeoG64e3W2Y4vKADyXlg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13024025)(13023025)(13018025)(20170203043)(13017025)(13015025)(8121501046)(2017020603029)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123563025)(20161123565025); SRVR:CY4PR03MB2952; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2952; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2952; 4:em/ovMukZNcTLYBBfMGGV1u4cTFbEMPhb382jaWMfp0eCuxvMqI//4qdwkjBJwxAO5TA0oHdJF/Cltc9dUHdTWmv7QjBFaT9VzeWPe5thaZMtM25NNWM+I85VWhqCNrSvnwdSHAbzl8ssrps+Ink6zRz2yjRwwc8yDtDxz55LBBuuGa6s5vMnNCyQsPFWFtQcoOzbrvb3QV0mZQTbxWzCbcIyhGtnBDvjODCijOIbOD0yzfPFdDNltNdDYlO2Gev0bfyoVdZd2GmwwOMTysMdENIbcGzrJNxjL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ics: 1; CY4PR03MB2952; 7:SZWwDa0Xrk7X5rVlEO8dWEmaG43ZnG+4CqOEVhL64bYLAZRaBj4J+4RKlLn3IhTxk8UGa6ZSCRt+owLtWKeP5Oz6049yrG2TbCcEzstCUatUTCGQXoKozdBLLFkGTMJns4rjZZf5P0T36G04RUNywMZkjIUx7wOFYeh0onstKT1Em825b6J3EJJSI8sGI46vq5tJy/zRBL4n9i/9Hy41sOeW4emQXbBvFu0ny52/k9K3IA6rHTYjNShtJkg+E8JnisTq7p/VITNop+9Jg2vA7yB3zV6DegJKDK0uu5WNbCUcUTzy4uKZZOHbwW9GYGYZ/3thSoESs6Y7C85CoLo3aKvex46jLNqyJN7YlqEAJZoSKNmb/bXBjt8lq38bGHhSvwkGuEez/N3Ay1jF9x0SzKpn5taoKzEC2Ik4+EFg1gWS2wY5gozstuRz3PPlu3XXBaF6dXgWhkeQhxj6zrgwtNMCgOpvA8aAobVxZOv8tHnCUx/SSoeX/N1n7EslrzYOQvFoQm2I1Wb4p/3veT6+/g== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2017 14:15:35.4763 (UTC) 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: CY4PR03MB2952 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170207_061557_393102_1112516E X-CRM114-Status: GOOD ( 11.62 ) 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, arnd@arndb.de, ruxandra.radulescu@nxp.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, linux-arm-kernel@lists.infradead.org, ioana.ciornei@nxp.com, leoyang.li@nxp.com, bharat.bhushan@nxp.com, stuart.yoder@nxp.com, 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 The implementation was removed in commit: decd3d0cf (staging: fsl-mc: uprev binary interface to match MC v10.x) but the prototype was left behind. Also fix a message that was wrongly mentioning it. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 2 +- drivers/staging/fsl-mc/include/dpmng.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index e607e98..47acb0a 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -752,7 +752,7 @@ static int fsl_mc_bus_probe(struct platform_device *pdev) error = dprc_get_container_id(mc_io, 0, &container_id); if (error < 0) { dev_err(&pdev->dev, - "dpmng_get_container_id() failed: %d\n", error); + "dprc_get_container_id() failed: %d\n", error); goto error_cleanup_mc_io; } diff --git a/drivers/staging/fsl-mc/include/dpmng.h b/drivers/staging/fsl-mc/include/dpmng.h index 7d8e255..170c07d 100644 --- a/drivers/staging/fsl-mc/include/dpmng.h +++ b/drivers/staging/fsl-mc/include/dpmng.h @@ -64,8 +64,4 @@ int mc_get_version(struct fsl_mc_io *mc_io, u32 cmd_flags, struct mc_version *mc_ver_info); -int dpmng_get_container_id(struct fsl_mc_io *mc_io, - u32 cmd_flags, - int *container_id); - #endif /* __FSL_DPMNG_H */