Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4650302imm; Sun, 22 Jul 2018 02:32:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcpMYaKIX6PIxFHTuUgyJREjuXU5Zh18oh7Vn7MA0HZNtrUJTma1wX6hQKPScRjEKYthxdC X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr8482562plb.87.1532251944347; Sun, 22 Jul 2018 02:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532251944; cv=none; d=google.com; s=arc-20160816; b=k7iszNcBVeX2WZ4OqBGanCzgQcok6mvJ/M6jCFzOG+peOSU2Xg5uqQfZXXDQMrIj66 Tt9LrEgyoz8jk3Ym8nTDsCiQCJopUftRrrJ/mrScXtLmImMOczdooCjhYFdnbpU7fuq3 Am/qJVes8BeLNn7mGiVJn2kfIoFD+O1xYI7CLyJZqp5WOHBNSkpEK2U9hFyOkOUihnXw wiz4zk0gnG63+cQXYvf71CKI/j7Zwh1j7o73S3GewPL+SN6O5p5ceDw7lv0W0TJ4Mi1w wjH0WdkUwb+JscdTd7YbtnAJXmM+4zys40Vq4jJ8wXFbbNL49PvLki1jDm5xWKXOnvO9 RRGQ== 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=n/JPLRhyyk1IT+a+p71RsPGQxp/HTGvsKTp+73U9PHI=; b=wxQNV2ZupgSEoBjKd6PchylIOcvd98YgXbsT44GG2dfDg7Rlr8D1A1Zf87ZO960mk3 qVBDk3MXwbfEdOH0UHdoNluP9gBXNtvKXC/uWLnYhFWW8sd32rkNf5k/NAYva43P+puD E2Z4wyRi2vpPKN1f3ncGU5Y+w6TIyzX2JLn/joVPc2IHysfR0AJ5MfgR4BM8HrOV/uOx JrydZPrvPcWVDnV0p8dVxzTTDacmkHue5NvxDDEoQjNf9jRrMY3Tq4MHhptHC6P0Cm7o KZTT9VhklqsutY7vohllZAVaVf6FG+LmSKWgGAO4fb9+nxXPA3D/wMhJoz10fZGdjbK4 9zNg== 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 r9-v6si5253213pgp.591.2018.07.22.02.32.08; Sun, 22 Jul 2018 02:32:24 -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 S1728363AbeGVK1Q (ORCPT + 99 others); Sun, 22 Jul 2018 06:27:16 -0400 Received: from mail.bootlin.com ([62.4.15.54]:59706 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728020AbeGVK1P (ORCPT ); Sun, 22 Jul 2018 06:27:15 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5D410207B4; Sun, 22 Jul 2018 11:31:09 +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 (unknown [37.173.49.123]) by mail.bootlin.com (Postfix) with ESMTPSA id 75F98207A8; Sun, 22 Jul 2018 11:31:07 +0200 (CEST) Date: Sun, 22 Jul 2018 11:31:06 +0200 From: Boris Brezillon To: Miquel Raynal Cc: Wenyou Yang , Josh Wu , Tudor Ambarus , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Nicolas Ferre , Alexandre Belloni , Kamal Dasu , Masahiro Yamada , Han Xu , Harvey Hunt , Vladimir Zapolskiy , Sylvain Lemieux , Xiaolei Li , Matthias Brugger , Maxime Ripard , Chen-Yu Tsai , Marc Gonzalez , Mans Rullgard , Stefan Agner , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v4 32/35] mtd: rawnand: tegra: convert driver to nand_scan() Message-ID: <20180722113106.45c11ecb@bbrezillon> In-Reply-To: <20180720151527.16038-33-miquel.raynal@bootlin.com> References: <20180720151527.16038-1-miquel.raynal@bootlin.com> <20180720151527.16038-33-miquel.raynal@bootlin.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 Fri, 20 Jul 2018 17:15:24 +0200 Miquel Raynal wrote: > + chip = &nand->chip; > + chip->controller = &ctrl->controller; > + chip->controller->ops = &tegra_nand_controller_ops; Should be moved next to the controller initialization.