Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4035850imm; Mon, 6 Aug 2018 15:32:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfF0O5+aT3j4L971UWRDWwJYXcmi2eYqg/AUmLmtn/Bcav/seFVrkQAt2t1Je2s/DY1KhLk X-Received: by 2002:a62:23c2:: with SMTP id q63-v6mr18887022pfj.91.1533594724669; Mon, 06 Aug 2018 15:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533594724; cv=none; d=google.com; s=arc-20160816; b=KWpvX+QukySci4eD4N0dQWJD2EOaapUBTFkBNH8ffq9qZh9sp/mN8icmjI0wYF+9IM xnnBerjkKrFM+YoeNcCP2j5+8IECzkzIj3f0864XMpQxk6Nm9+HkErwmVJIKU/UvYZut Bh8dXUdFHTt2Zakwrv87VW1NeVIWIRPWgLW3sw3PNk8DR9GJlHbhjjsEm/IWIqonGfYd Lmm2gQjfa9Jot2bs5Jtl2iKKkCzADoR3Vu5BISHXGtRzK9eAHpmd+ysC8mRR4BhKEpIS n0Z5lBtb+zLT/UKc9icl7+VOW6cBUlI0GcPRftLue+xj1nKbPmHYwIKIanAf9kNV7+4l zbNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Y+2LyEwByW4zxwwsLlaC1XUGA47kDs2qqVs9Rm/IVKw=; b=Ya881xzNQw1udGbHE83eqqaNYVGEFaJvipiLYAcS2r2PUzMZBkqnLj//MJts8UnY3p aVRVXOfTnGecfGMT7ZwaJv7o6E2ho1hGDhGJ7zPoUtlbJ2PfLTKbPQ0gRTo0wBU5Mx8T RVn5wYYlqivwvPdYKV7nxtZgOYCRfQc6kxysfmYxrHkSJPS0HplLKT8pO6dUhj9mYFzp TWN+qmdBe7FB24VTylbL+Azvryoy/w7/2OH68jDbo0Cs5/cTCXblv/MgcIsNKKviuKg+ nhfBUrEvzG+sKDcKuE/AcjmXx7GE++Iu0ndYmvaUoYD7NYE76oO4euFeV03ECl/yBX+8 kShg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VVRKU1Fk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k14-v6si11758475pga.149.2018.08.06.15.31.49; Mon, 06 Aug 2018 15:32:04 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VVRKU1Fk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387540AbeHGAkm (ORCPT + 99 others); Mon, 6 Aug 2018 20:40:42 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36514 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387477AbeHGAkl (ORCPT ); Mon, 6 Aug 2018 20:40:41 -0400 Received: by mail-lj1-f194.google.com with SMTP id u7-v6so11861174lji.3; Mon, 06 Aug 2018 15:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Y+2LyEwByW4zxwwsLlaC1XUGA47kDs2qqVs9Rm/IVKw=; b=VVRKU1FkDhRKCs/bp0gKnclYBzSXh+B6bnxWekrUKOTBVYmu0IRVRSNbSk39oBMtbX chWoCByBdLQ6EH+iBbMrgv4mdt28IbSSr4Xbprbu1/rT5k7GkpZI27jYQ1NcFEF5jHPw FlbKG+QOKca8kHcPqPtbLf7z+oxH766qCjcYF2H0mA/IBM270yEM2SXoicAVOr4+NV4A +Ht2oWIzrwitqQXgSCoZD1Zk5iY6TEAb0pWVLC4FkD0YJrvb49NXo/eMl2dSCL/1hMVI QI9B1X3A4X8WH1PIlrBqt2oCZjaV3rQsPbJWAPtoGjnoIJvBewGXctM9xz8tRyETC4h8 nuJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Y+2LyEwByW4zxwwsLlaC1XUGA47kDs2qqVs9Rm/IVKw=; b=Bf98teYr8yXQHf+JNj5jlF6Yk0gieExwvrKrkZR7eH+4S0OcPeIwx79XItdMvmyXP4 cjOvYgegHlYY4UQ4yL21xeERcieC2E5Fk+ajQEHJdyf3A8GA9wezeRaB8RZLnUpECD5i 04WQ2QqZLwzFXllnh5KDTB6243LJRXo5ZXN4Iyl6uW3bZLAOtjac45BV4fOqCysFVIv3 y7MM+6COa2cXp3yFWccyfFQA2VACj3eS8FGmiATfbFTQ7u80oAg8FUmM9Fr9GwX0TFrC /R/KFuAYp+oL88roW2G29z04ghkyPW9vr0TnDmD4lVsyc9Qd8J0aYXmOW5PDoWTcdVKU 5/hA== X-Gm-Message-State: AOUpUlGZJ+lcmSx6jzMF4HntGsQJkzJrm0xotHicI5aQm8CuJmGYbdTV crVCY8X8r3qsQ/U56I2tuxs= X-Received: by 2002:a2e:63c5:: with SMTP id s66-v6mr14441401lje.23.1533594568957; Mon, 06 Aug 2018 15:29:28 -0700 (PDT) Received: from z50.lan (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id o4-v6sm2438561ljc.67.2018.08.06.15.29.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 15:29:28 -0700 (PDT) From: Janusz Krzysztofik To: Boris Brezillon , Linus Walleij Cc: 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, Janusz Krzysztofik Subject: [RFC PATCH v2 01/12] mtd: rawnand: ams-delta: Assign mtd->dev.parent, not mtd->owner Date: Tue, 7 Aug 2018 00:29:07 +0200 Message-Id: <20180806222918.12644-2-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180806222918.12644-1-jmkrzyszt@gmail.com> References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180806222918.12644-1-jmkrzyszt@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix missing mtd->dev.parent assignment and drop useless mtd->owner. Signed-off-by: Janusz Krzysztofik --- 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, -- 2.16.4