Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5004994imm; Tue, 7 Aug 2018 10:57:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdL21tMASJMY9/QIp8+UL8uBVQm3rYmWSQDDwVRexItu4F2XXqKFV4TQVoV5Z3T27yX6TAP X-Received: by 2002:a17:902:6ac3:: with SMTP id i3-v6mr18890556plt.252.1533664638307; Tue, 07 Aug 2018 10:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533664638; cv=none; d=google.com; s=arc-20160816; b=MaMRMcQNx5bczwgvus7NbdLV5hW+zNCICx/zQ3p9eWTiJ036nYZ9XacqUcFyTG8BvE MwqGbXSEGCFsWSHRHgGMigucCF+3fezyMLtGWMgQNAF/Y3/QRerfRlAlH54dzXXAk0c6 RN+sX8gpy/xVk4tbxsKiWHm0BLovLD6dLFXMrWNyjFySQHzvzxf96SzC33zB6GUJSyHe xLAXuhGC30i6KOzPi8tPtxvboieuVGydnz1zRDK3JeXhHkrKPfUiu037dIcWl1Oat0/Q Vp/0ff7LXR3ajIiPIq77FqUd0MX/vKFg6hZMq3ILyVuUclykETzD4yKvTSai83lRJ5T/ PyGQ== 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 :arc-authentication-results; bh=I+WGwqKnZe0tXUOBYoDQZ5xbBhown2R/7sQuCFRB1es=; b=Ld4nVUzTssMCNsXn6Nxe+VYJctskOfe9/5Ky30iMtqM+AioqGfbNupQl0dJj5SmrIr B3AIOTkA5fG5TPIkJ8yhD9gYCSqPdkbZyvTwbFSli2rAZwAJTuNBACGksFVeFzBkXO3t e0ze8NGJkA3cHFv+Tmk+6SLJnq9F7Hd9t7lXvUPuaz3qCTkNCOS4aNjHg6PRVTQMRqW2 c/aY2iFyust/qSrl18WHbi8lFFuu+4J9RozowYzuw8xynUqazMtAyS4/isBbl2D5XEWR xMJ7OthKH8sr7pvxy97bA5f0s09KsyeQ2Ymk76nSIyREp6HvwrOXf+jZlmvgkDBLx8RI oZBw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q22-v6si1428501pls.395.2018.08.07.10.57.02; Tue, 07 Aug 2018 10:57:18 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389232AbeHGTOA (ORCPT + 99 others); Tue, 7 Aug 2018 15:14:00 -0400 Received: from mail.bootlin.com ([62.4.15.54]:36068 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388943AbeHGTOA (ORCPT ); Tue, 7 Aug 2018 15:14:00 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 269B420799; Tue, 7 Aug 2018 18:58:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id 9B8E0209C3; Tue, 7 Aug 2018 18:57:37 +0200 (CEST) Date: Tue, 7 Aug 2018 18:57:38 +0200 From: Boris Brezillon To: Janusz Krzysztofik Cc: Linus Walleij , Jonathan Corbet , Miquel Raynal , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Tony Lindgren , Aaro Koskinen , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-mtd@lists.infradead.org, linux-doc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 01/12] mtd: rawnand: ams-delta: Assign mtd->dev.parent, not mtd->owner Message-ID: <20180807185738.695960dc@bbrezillon> In-Reply-To: <20180806222918.12644-2-jmkrzyszt@gmail.com> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180806222918.12644-1-jmkrzyszt@gmail.com> <20180806222918.12644-2-jmkrzyszt@gmail.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; 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 Tue, 7 Aug 2018 00:29:07 +0200 Janusz Krzysztofik wrote: > Fix missing mtd->dev.parent assignment and drop useless mtd->owner. > > Signed-off-by: Janusz Krzysztofik Reviewed-by: Boris Brezillon > --- > drivers/mtd/nand/raw/ams-delta.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/raw/ams-delta.c b/drivers/mtd/nand/raw/ams-delta.c > index 2a8872ebd14a..af313c620264 100644 > --- a/drivers/mtd/nand/raw/ams-delta.c > +++ b/drivers/mtd/nand/raw/ams-delta.c > @@ -162,7 +162,7 @@ static int ams_delta_init(struct platform_device *pdev) > } > > ams_delta_mtd = nand_to_mtd(this); > - ams_delta_mtd->owner = THIS_MODULE; > + ams_delta_mtd->dev.parent = &pdev->dev; > > /* > * Don't try to request the memory region from here,