Received: by 10.223.185.116 with SMTP id b49csp1057435wrg; Fri, 16 Feb 2018 11:38:01 -0800 (PST) X-Google-Smtp-Source: AH8x226is+EkoHQ3ECDFrSl1MjxoyAVxZyN7yh3G3MWHBG1Q1ECsT9RoQHRPUzWw1SNofz175S2B X-Received: by 10.98.225.20 with SMTP id q20mr7003442pfh.23.1518809881703; Fri, 16 Feb 2018 11:38:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518809881; cv=none; d=google.com; s=arc-20160816; b=JhG+vhzOgTMA0RTZf+mxhGfc4Bs/CDyozV8SB7hb1fIySPyXqbonra4As8ozBiSypW m+uRN+Sf4c7X2YokAVGrQIQKdNpugmORLZCJrYGXXdLHJ42bohXOshc9TpPA07h1naiu Q6r0KC6wocMBKnlRz0ye2q6sK69bVow6trZp49KL5pvW2PZsZAlFW9udtGyf8jXWXGn9 MQuYZenf6KBhr9CewuJ9yRK4REXgpatRQi8VpkjCc8atWyvfthMmaiAYcJYhr4kmRKdg fnsRTORs+mORMbL8mWlDnfUnz9Uo81RIlv8Rogh3UGLtCyAZVdNDS6mfvSi+JSTPspnb Gapg== 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=A+eMI95d+fEUuhy64UJo3DR/j8Vl+1/8Xlk38jTdGRI=; b=mtcsCOZF3VME5xTGXZ+eV4P8SnxdNikPiClmSAiVHKZog8u0FHXxM93oA6Ze9450L1 2w4a7t9sY5StiH8nS6PWevZzHm1LFwKTv2Flq1Tnx7dJPvm0KUp6XcHCy2unoUXdqI/1 KjoOd1uyrDDoFrOcDo7VpPpxnI4tZT0Oa/cgasR7f32BxSNWwGyZpZ1SkZSb4EE/jeIE AOi1edlcRLoWbcUCharY+Mns3s0yF+mpzXxHfl7MNm9Cnbf1RdXQWWc8xCP8yH1aR071 U2kaUtsfGOPTL+VirsNcSXsEct9F10F683VOLEyAMGsz1r3mnc/HZQPrifqGo70ED0qO 0Mzg== 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 206si1377075pgb.647.2018.02.16.11.37.47; Fri, 16 Feb 2018 11:38:01 -0800 (PST) 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 S1752021AbeBPTef (ORCPT + 99 others); Fri, 16 Feb 2018 14:34:35 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:60211 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753722AbeBPTT0 (ORCPT ); Fri, 16 Feb 2018 14:19:26 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 4210B20650; Fri, 16 Feb 2018 20:19:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.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.free-electrons.com (Postfix) with ESMTPSA id CB78D2039F; Fri, 16 Feb 2018 20:19:23 +0100 (CET) Date: Fri, 16 Feb 2018 20:19:23 +0100 From: Boris Brezillon To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , Russell King , Santosh Shilimkar , Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, David Lechner , Bartosz Golaszewski Subject: Re: [PATCH 1/6] nand: davinci: rename the platform driver Message-ID: <20180216201923.16bfca7f@bbrezillon> In-Reply-To: <20180216164712.25898-2-brgl@bgdev.pl> References: <20180216164712.25898-1-brgl@bgdev.pl> <20180216164712.25898-2-brgl@bgdev.pl> 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, 16 Feb 2018 17:47:07 +0100 Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Commit d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock > lookup table") broke the nand support in board file mode for > da850-based boards. Instead of reverting it and breaking the DT users > in the process (due to clock lookup), rename the driver to match the > clock table before renaming the users. > > Fixes: d8e22fb4ccac ("ARM: da850: add the nand dev_id to the clock lookup table") > Signed-off-by: Bartosz Golaszewski > --- > drivers/mtd/nand/davinci_nand.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c > index ccc8c43abcff..4fb143bf1872 100644 > --- a/drivers/mtd/nand/davinci_nand.c > +++ b/drivers/mtd/nand/davinci_nand.c > @@ -865,7 +865,7 @@ static struct platform_driver nand_davinci_driver = { > .probe = nand_davinci_probe, > .remove = nand_davinci_remove, > .driver = { > - .name = "davinci_nand", > + .name = "davinci-nand", Another side-effect of this change you should be aware of: by doing that you also break all users that were defining partitions through the cmdline using mtdparts=davinci_nand.0:. Not sure this is a good idea ;-). > .of_match_table = of_match_ptr(davinci_nand_of_match), > }, > }; -- Boris Brezillon, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com