From patchwork Tue Jun 29 10:15:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kulikov Vasiliy X-Patchwork-Id: 57265 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8058EB6EF2 for ; Tue, 29 Jun 2010 20:17:00 +1000 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OTXqg-0007tx-O1; Tue, 29 Jun 2010 10:15:26 +0000 Received: from fg-out-1718.google.com ([72.14.220.157]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1OTXqe-0007sK-IS for linux-mtd@lists.infradead.org; Tue, 29 Jun 2010 10:15:25 +0000 Received: by fg-out-1718.google.com with SMTP id e12so687600fga.0 for ; Tue, 29 Jun 2010 03:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=Rp/2eVmjnTsz2iTlLG2+ophkhIF/9qU+Ay7Jh+sOufI=; b=erOybTC5md32MA7pUiZOpNmsOrhlellLFtLLCY5J30WodXMx6nWpHetmtxEg5Wh4oa JC6cj73LtCtnrvTVtA8RveOG1xKWlF/DVayBRaqD+Fj7UsiTgEXOshqRqn2d/oXQ5gV9 +qIH6qqe4uMs7UfTWMvldp3YilE0Gsk4nElPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=hHIIj9rtUqgRfxA31NdTG9NJGo2T+AXKSU2saLkUhd3bM4KLtG5JcATxEpGHCEjSwP +EVqhVzsgCMg3hvDpYKxtxR1PieI013B32afQjg07uQLysbRMHwAnDfSP5Cp6vBGlvo3 gpOFAPXTzl5XfuyKUcvSW+sNVM1Y3dd1gbUm0= Received: by 10.87.49.36 with SMTP id b36mr8966912fgk.57.1277806523756; Tue, 29 Jun 2010 03:15:23 -0700 (PDT) Received: from localhost (ppp91-77-40-207.pppoe.mtu-net.ru [91.77.40.207]) by mx.google.com with ESMTPS id e3sm12545596fga.7.2010.06.29.03.15.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Jun 2010 03:15:23 -0700 (PDT) From: Kulikov Vasiliy To: Kernel Janitors Subject: [PATCH 07/25] r852: remove casts from void* Date: Tue, 29 Jun 2010 14:15:20 +0400 Message-Id: <1277806521-30942-1-git-send-email-segooon@gmail.com> X-Mailer: git-send-email 1.7.0.4 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20100629_061524_714434_2B32DC61 X-CRM114-Status: GOOD ( 15.38 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.3.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, low trust [72.14.220.157 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (segooon[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Randy Dunlap , Stephen Rothwell , Maxim Levitsky , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Tejun Heo , David Woodhouse X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy --- drivers/mtd/nand/r852.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c index c0a9835..43f0366 100644 --- a/drivers/mtd/nand/r852.c +++ b/drivers/mtd/nand/r852.c @@ -380,7 +380,7 @@ void r852_cmdctl(struct mtd_info *mtd, int dat, unsigned int ctrl) */ int r852_wait(struct mtd_info *mtd, struct nand_chip *chip) { - struct r852_device *dev = (struct r852_device *)chip->priv; + struct r852_device *dev = chip->priv; unsigned long timeout; int status;