From patchwork Wed Jun 10 20:38:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frans Klaver X-Patchwork-Id: 482906 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9FE5B140295 for ; Thu, 11 Jun 2015 07:05:29 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=CeNLlmHA; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z2nAn-00020u-Cx; Wed, 10 Jun 2015 21:04:33 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z2n5m-0005bu-En for linux-mtd@bombadil.infradead.org; Wed, 10 Jun 2015 20:59:22 +0000 Received: from mail-wg0-x244.google.com ([2a00:1450:400c:c00::244]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z2mn0-0003jZ-7B for linux-mtd@lists.infradead.org; Wed, 10 Jun 2015 20:39:59 +0000 Received: by wggy19 with SMTP id y19so8937199wgg.0 for ; Wed, 10 Jun 2015 13:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=slcdJde/vLCBrbqd1YAj4xroHRW0HPYPcZEFzag1j60=; b=CeNLlmHAW6c1pagafDbn75dEXiE+yFT0WVGR+hVOEh87ZeFfxKFlBAsZM2I/jRm/Id 5BKZ796/9GonRrkEMKVi9lh2zClIgM6/DO/tVlw70ueW0MINrDK0EX/0h3uKSG+F1gDL OlzTwRnjf4BqFaPeby3J4LyceFVofAm4kn/99GY1BBLboNR+3Iz4eazTxe5Y9TdDrwJ9 Tqbmqa/KzxKBPFPKk+sCFZTp9SFbVfa1ac9nY2WFHCgZqObbrgtmSj7ENWlZpTNnOOPU yybpyy9yjEonrQ0petZPt3oCyjMURVv7X+53t7+eZVjB+5RAE7kxKFaWqtrMbmSfOiWh ZItQ== X-Received: by 10.194.78.134 with SMTP id b6mr9564412wjx.13.1433968778992; Wed, 10 Jun 2015 13:39:38 -0700 (PDT) Received: from localhost.localdomain (82-171-48-45.ip.telfort.nl. [82.171.48.45]) by mx.google.com with ESMTPSA id a8sm9608025wic.22.2015.06.10.13.39.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jun 2015 13:39:38 -0700 (PDT) From: Frans Klaver To: Brian Norris Subject: [PATCH v2 27/60] mtd: nand: davinci_nand: drop owner and name assignment Date: Wed, 10 Jun 2015 22:38:41 +0200 Message-Id: <1433968754-10651-28-git-send-email-fransklaver@gmail.com> X-Mailer: git-send-email 2.4.0 In-Reply-To: <1433968754-10651-1-git-send-email-fransklaver@gmail.com> References: <1433968754-10651-1-git-send-email-fransklaver@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150610_163958_557292_7946BF03 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c00:0:0:0:244 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (fransklaver[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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 Cc: linux-mtd@lists.infradead.org, Frans Klaver , David Woodhouse , linux-kernel@vger.kernel.org X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.18-1 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" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Owner and name are automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver --- drivers/mtd/nand/davinci_nand.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index feb6d18..78e0c4d 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -657,9 +657,6 @@ static int nand_davinci_probe(struct platform_device *pdev) info->vaddr = vaddr; info->mtd.priv = &info->chip; - info->mtd.name = dev_name(&pdev->dev); - info->mtd.owner = THIS_MODULE; - info->mtd.dev.parent = &pdev->dev; info->chip.IO_ADDR_R = vaddr;