Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4105822imm; Mon, 6 Aug 2018 17:07:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpetyXWoP1JM94Gm7YKsIVOPtVwZ+O8U3TP+KtDUkTSoeR+PpXBoLqLwOFNiHr0xP8XeHXtj X-Received: by 2002:a62:5882:: with SMTP id m124-v6mr10537164pfb.249.1533600436514; Mon, 06 Aug 2018 17:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533600436; cv=none; d=google.com; s=arc-20160816; b=XwprvLSqIOIJiHq7YR7lB+hzKn/nCNJjnkRGPvb/gdKKn+jjaQ+9AlnvdMVaehPSsi CbN2Z1Qe/2SSVvabO/tWmJcbvxqJQALFSdIN5r17D4Oiy7R3IJhLoWKOwt5U3doOhj0H CQcIF7LauGNF6xz4E9I2ZrVfeRsdQh1T2phBRrUEHbfp3yZIFBWLrgfecWbDtclLbEs3 d+3wSUltXttat4LeSWsMULS3Abd+YjnD7ba18U+pvRkBAPhZAoeOVTvVhkDHfNTmRylN kdu0JtEpF/cgV6khEKxE2QnwiZx5sbSfJ/bvVDg3OYGVt38X9r/nKJ6LOW7yaRJoQOyA AV9w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=B3rsPEdb5Hpz4RchKdgBtO0OTELLFpI8qp1QdKfH8Dw=; b=aU7ZdKSveJU7m2QSiMpF2H4KmXNoBbOTMZ2UvoSoxz7SpQqLdXHH5wdveZQvlokQUb SgiJaCV2X/Z3PeM6tpGqY66GCTUqjuVx74quYgbyrvIV7/q0ncfoSuAdhhYJ0BOrpq4m sUW9pJ1AD0XidpocwQrdlyTiDcwbCA9WquFUc8xXZ4KvHFHclAl1uTZwX6AWTyCBwE3S flp0/L9bTRCOb3zAjYFcfA69FeSLtklCGN0A4l7cNUeXiKyI9s+dF6zAEVHWzDpteb2V o55Ukch/0gOtfysD9SetvEOIjtD7+/BjSxjAw1TxmvikFq4bZSjmWgSgUcNk3VsZyY03 +yag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FRcYakCZ; 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 h7-v6si13244576pgl.399.2018.08.06.17.07.01; Mon, 06 Aug 2018 17:07:16 -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=FRcYakCZ; 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 S2388425AbeHGCKF (ORCPT + 99 others); Mon, 6 Aug 2018 22:10:05 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39382 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732394AbeHGCKF (ORCPT ); Mon, 6 Aug 2018 22:10:05 -0400 Received: by mail-wm0-f68.google.com with SMTP id q8-v6so16121824wmq.4; Mon, 06 Aug 2018 16:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=B3rsPEdb5Hpz4RchKdgBtO0OTELLFpI8qp1QdKfH8Dw=; b=FRcYakCZOCTxAiVLjQCJFPRelCVxXLSPLpsmMYTxphb6hBg8xvkfzTe1CMeuzzC5cW DOZzZIbUblIOw0ZDZQNX3TeFar72UzZWoZnlfN3vwXfFquUCK6EKJIQPDhvSXEohmHLu sZQoqF4wnE7AlfFhbG19SSfOxJ7gN3lVw5pZTlv/A9dHODcRS7SpQ9DsxsEDdsaDzdgU OLcXa/l7mao+OIwBXf0tNbLrWzJJUzUvhbn4etPZjprpSpBhjMYw7wmiAO26m6eUSvik P4k4p2ipK86ThqaaXsxeSSqjw0kyYQIj65evkf9gFLQ33IpGHjpaH3aRPeOvN9RxHfkt OyIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=B3rsPEdb5Hpz4RchKdgBtO0OTELLFpI8qp1QdKfH8Dw=; b=RVy9CJKzABvfSrLPLehWXuM8q6Q4VJOsJolmPM8NOPpNylSD9NP8H5gFpVuMQpMdVA OHzY93MHwIgTC/59nRGVYVZ5529HoaNXjXov6pejaTeIlNPEBma6gbtPN3e7BFj8+dMm o++H0cJGVFYK0mefF3LiOkt9idDPJlWUrBnVIn1Q0BmJAL91rxFYRnvflPKhj0ze9eab yTq63sdV2Kb4naSmojcAJiyU550eKHJZsd/JN1frI+2MOa3C6biQc7q0LJgYd7nWf4um 1UkX5RIfsFL6FPFR1m+1+KNrnpEWrn/9Aop4y7Qga3kbCnb3I/PKUlP3SlQIB9Nzqa2e q/XQ== X-Gm-Message-State: AOUpUlEaW3yMCEpSIR/iNYHJ20LZoqHOfR9slZ42XZJK2E9Uz7r+vaor E2cWPxv3Wqvy2d06TQJVt9easRuY X-Received: by 2002:a1c:b6d6:: with SMTP id g205-v6mr115833wmf.17.1533599912335; Mon, 06 Aug 2018 16:58:32 -0700 (PDT) Received: from [192.168.1.4] (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id i205-v6sm115325wmf.30.2018.08.06.16.58.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 16:58:31 -0700 (PDT) Subject: Re: [RFC PATCH v2 01/12] mtd: rawnand: ams-delta: Assign mtd->dev.parent, not mtd->owner To: Janusz Krzysztofik , Boris Brezillon , Linus Walleij Cc: Jonathan Corbet , Miquel Raynal , Richard Weinberger , David Woodhouse , Brian Norris , 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 References: <20180718235710.18242-1-jmkrzyszt@gmail.com> <20180806222918.12644-1-jmkrzyszt@gmail.com> <20180806222918.12644-2-jmkrzyszt@gmail.com> From: Marek Vasut Message-ID: <604ff0fb-07d5-9068-2f69-41198f3d9854@gmail.com> Date: Tue, 7 Aug 2018 01:54:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180806222918.12644-2-jmkrzyszt@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/07/2018 12:29 AM, Janusz Krzysztofik wrote: > Fix missing mtd->dev.parent assignment and drop useless mtd->owner. You fail to explain why this fix is required. > 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, > -- Best regards, Marek Vasut