From patchwork Tue Feb 5 15:43:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10797559 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C9D4213B4 for ; Tue, 5 Feb 2019 15:43:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B850C2BDC8 for ; Tue, 5 Feb 2019 15:43:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC7A22BE06; Tue, 5 Feb 2019 15:43:44 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51DB22BDC8 for ; Tue, 5 Feb 2019 15:43:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730206AbfBEPnj (ORCPT ); Tue, 5 Feb 2019 10:43:39 -0500 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:65259 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730138AbfBEPni (ORCPT ); Tue, 5 Feb 2019 10:43:38 -0500 X-IronPort-AV: E=Sophos;i="5.56,564,1539673200"; d="scan'208";a="23460614" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Feb 2019 08:43:36 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.106) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 5 Feb 2019 08:43:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ANC5cgl+5kSOAeLmfZNwzCIDmW22gC8QxdKBzwzsJzU=; b=E0drAS/hb40LBJaLGVeq+tiMODPamNcJDzds/TZ+B+mEVkgJSgdfoCdN5hTMuxsOqrS+9tUVx/tZg+By9FGIttaC9W1IT/v4qurClrPs7NVKNuTgkrlWYR2KDW5piMOsxSmD8B93C9L2yDyDqpwF1Iq8ODC64XFyIVhFeWtq9Kw= Received: from BN6PR11MB1842.namprd11.prod.outlook.com (10.175.98.146) by BN6PR11MB2020.namprd11.prod.outlook.com (10.173.26.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.17; Tue, 5 Feb 2019 15:43:34 +0000 Received: from BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::847:4296:13b9:fc9f]) by BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::847:4296:13b9:fc9f%8]) with mapi id 15.20.1580.019; Tue, 5 Feb 2019 15:43:34 +0000 From: To: , , , , , , , , CC: , , , , , Subject: [PATCH v5 05/13] spi: atmel-quadspi: remove unnecessary cast Thread-Topic: [PATCH v5 05/13] spi: atmel-quadspi: remove unnecessary cast Thread-Index: AQHUvWmNlktXwAQKWkSoVihsTTy0dw== Date: Tue, 5 Feb 2019 15:43:34 +0000 Message-ID: <20190205154257.29529-6-tudor.ambarus@microchip.com> References: <20190205154257.29529-1-tudor.ambarus@microchip.com> In-Reply-To: <20190205154257.29529-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5P190CA0017.EURP190.PROD.OUTLOOK.COM (2603:10a6:206:14::30) To BN6PR11MB1842.namprd11.prod.outlook.com (2603:10b6:404:101::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.9.5 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR11MB2020;6:kTqgMUsHk3eu84qyjftBrLFkIxt8OlkNxXHNQTcj7pVAn5oIuO8dsGt0KJEwVK8qC3iIMdCG+riuMtBWHEPIXowszAECyIgQOMv64wWWm1W56SPlTyWwD/SoYtKf0sRCqkQqxUOyUK8rH1hTCjmSzkre7t3PRjdHUOQMw1oEB4uQtPzM3aHkg6VDY2LRNPAnC7GP4o8iCQkzuRPgvFv8itqjfyLXBtUQ4k+3wjVVW74v0v72BDBtx/vO8Gs8CmgPQfGSt6X5vfT05j0YSbDIoADFp8x0vT3/4WZq9HF2NQlq6pHdH8AuPDF3Rzsg6NHy2twoWhCISDWhazdijrDUF2BCIKjr90TBZukF6+NtlMMzBETwW/UUSQKwwzYq9OvGyl450uLGBnEfxDCi1QwsDUAYqvIB1whOuwRbP5jklZ0M5K3tn4okc48klaLs1j1OVPdtq6jydhVs5RlgMp69vw==;5:fJvJsM+4hG3xoFswRhK++Z2bOjs2YnHAHGwEGPq3TmllAVDFue2Z33EyN49Rtc7Uth0NlobPKlav364yHhGD4GV18k+oztyfUuv+TAkv7UpQnLYEeTwmigm6vv2avf1uN7cAvGX/6NZXcg1x1CW5ErKUDfB5R7ANRmJCadxhOtp5uHNDjnvITHHGA0ITVkW+ZUnkOCp8LSVXXQ/uwtkVVg==;7:kEVT5H9tHTiL0r7Du1IGp7IsZuvKkH5jxb7feZ/q4a1O5ZuaZH3r0zyaLzGnymvYQpw9Srt3SEKjmH1Dx/6nSmQs4X2lnF5MyEiah94RFqOCjMxG7Dtn5mWtdWsG3jM1BiAz9CsA82XeMmaQF0D8Yg== x-ms-office365-filtering-correlation-id: 28332fee-797b-4a1d-143a-08d68b80afc8 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020);SRVR:BN6PR11MB2020; x-ms-traffictypediagnostic: BN6PR11MB2020: x-microsoft-antispam-prvs: x-forefront-prvs: 0939529DE2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(376002)(136003)(366004)(396003)(199004)(189003)(107886003)(6116002)(3846002)(4326008)(8676002)(305945005)(7736002)(2906002)(81156014)(14454004)(2501003)(1076003)(7416002)(81166006)(8936002)(50226002)(52116002)(86362001)(99286004)(6512007)(106356001)(36756003)(71200400001)(71190400001)(25786009)(68736007)(53936002)(11346002)(2616005)(486006)(446003)(186003)(105586002)(102836004)(6436002)(316002)(6506007)(386003)(478600001)(66066001)(54906003)(110136005)(4744005)(76176011)(72206003)(14444005)(256004)(97736004)(476003)(26005)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR11MB2020;H:BN6PR11MB1842.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: lXRG+gXOVlTyAhBBWeMDFhBiRCfcJUj36Q++5orWQPLy9b4M9MQZ2y8/ZUonSMbxDHz5WbgogTlkcS/j0JUSREFTuX7w1cxFSAw834Yt/ePmiOp9XDXHJjhTXGleMad5cSMiBrG0dh8uULomAOyftctb3I7GIFvIXlYKXSpl5d4LYYWuLyVL/8oHDWkw8U+rGBuxKKDGCFvhZCKBhYw5uvQlFKR8QzWH+Gc6eDVf1KVU89wv+3IYDfz2HerqGLtDhKsACNKsio3y7l4w+XGhPa2y/a4WK9lxZl6ejMFVvB1SKVMy24/Y36jicyJRIUu1Go+AigWOPwsIjFj+Bp85JAm8oxi9eOKPRK9Jc37frv9vBT4/UX56rrS8OACeSwDYPXJvbNZ1JgOMiVj+Ls9/i6rtc953QTKwa50p/zKRT0E= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 28332fee-797b-4a1d-143a-08d68b80afc8 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2019 15:43:21.6499 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB2020 X-OriginatorOrg: microchip.com Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tudor Ambarus The cast is done implicitly. Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no changes v4: no changes v3: no changes v2: collect R-b drivers/spi/atmel-quadspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c index be1d1ba7898c..be7f87fd5ac7 100644 --- a/drivers/spi/atmel-quadspi.c +++ b/drivers/spi/atmel-quadspi.c @@ -389,7 +389,7 @@ static int atmel_qspi_init(struct atmel_qspi *aq) static irqreturn_t atmel_qspi_interrupt(int irq, void *dev_id) { - struct atmel_qspi *aq = (struct atmel_qspi *)dev_id; + struct atmel_qspi *aq = dev_id; u32 status, mask, pending; status = readl_relaxed(aq->regs + QSPI_SR);