Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6136071imu; Wed, 30 Jan 2019 09:22:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN7izkKSFcn1UxvNBV9JJczGewQPLQz6n/EWoMwpm63L/VWWVxus59+MtFHS7S/tc8gKPUGC X-Received: by 2002:a65:6684:: with SMTP id b4mr28407794pgw.55.1548868925279; Wed, 30 Jan 2019 09:22:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548868925; cv=none; d=google.com; s=arc-20160816; b=a93harWhjiN8I+oPABRuLT0H/vU1cnpYo9vCMmKPj5sfdSBUqofb6/JE5K6+59Q7NF Q58ixcpuCRYDNXxmiYB1hpjbPfOuf1UbimC+lAuEjCH8AM3AWYL2cFbG1yUhJZhclPUM 0H/akaVqlQKBLtyRPSc7LliucCDIHWcQLT4/doA6B4LlEboQ6JFuXKg7QiDybDHzwC/5 AI7VJFAr9UTHJQbrisyQgcy55HfJg1dStnVpRF0tqjyV4J1ewFjJQ5cQidlsyYYfK5wE 2EVBi2RHEBX5FTcHWmwWqTkKn/zqxNBEAY1ermFmLp6HhGpFzyCUi5EKL01oknBKJMqT XAfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=alw+CPKkI5pB0QfFGvQe62KaOy7J0wkH2eKNtlRZyYk=; b=oypTZxsYoCJPU4EDUfxB2Po/wUNA/vQbg3b72bGfYSGI5JaYU0a29T9L1ALOCP6mCg swOWV+Ty83Ed1/ey8c6tvgrUecte2jKMPWkSKZT1tkRNfPWgiFvSWBueARYWrShVt7n1 Ako0J70Budv2tFarVVkvn4jOCsCKTQM3NGGtVOmDXe5SSzXY6pau6UbT1M/PKknn29t0 Z8pgNJeBekZZva6nEQ+2b1Kk/s4SlDaYnS7ftGU1ysTvAb+K0EEowkywOomY3l5u6IoB hfh6r7qkbnuqe9xwVykdp9dzdHH+dRzNEJvWNOs1qDk26TLlZaHpbi00zVR2PFbsFhuz uAGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zws77S8+; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2si83855pfg.279.2019.01.30.09.21.16; Wed, 30 Jan 2019 09:22:05 -0800 (PST) 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=@kernel.org header.s=default header.b=Zws77S8+; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732474AbfA3RUP (ORCPT + 99 others); Wed, 30 Jan 2019 12:20:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:50442 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbfA3RUO (ORCPT ); Wed, 30 Jan 2019 12:20:14 -0500 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9352020855; Wed, 30 Jan 2019 17:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548868814; bh=e1EgPBBSxkVBZIffLs813GMhAV6aodZH7KaCX9WAE4o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Zws77S8+N9qMQti08li0S/tTA1HnIV0Xep42Ebch25pjgvPzkWvvORe8sc/amS6SS 8bvLeHilIisDE2e4+xcw5S13WcQo3BRAyE/lpFtKpu2CWLlTeIjLoydBR8p35vHXaF 3y7mcKeA+sTTD1dK88LGc2aeDZRw5gtfcWq5FG5o= Date: Wed, 30 Jan 2019 18:20:05 +0100 From: Boris Brezillon To: Cc: , , , , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org Subject: Re: [PATCH 4/9] spi: atmel-quadspi: remove unnecessary cast Message-ID: <20190130181955.48309a21@bbrezillon> In-Reply-To: <20190130150818.24902-5-tudor.ambarus@microchip.com> References: <20190130150818.24902-1-tudor.ambarus@microchip.com> <20190130150818.24902-5-tudor.ambarus@microchip.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Jan 2019 15:08:35 +0000 wrote: > From: Tudor Ambarus > > The cast is done implicitly. > > Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon > --- > 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 e156c345705b..3643f0c851b0 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 = atmel_qspi_readl(aq, QSPI_SR);