From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aMmCI-0006By-Ba for linux-mtd@lists.infradead.org; Sat, 23 Jan 2016 00:36:59 +0000 Received: by mail-pa0-x236.google.com with SMTP id yy13so49323262pab.3 for ; Fri, 22 Jan 2016 16:36:37 -0800 (PST) Date: Fri, 22 Jan 2016 16:36:34 -0800 From: Brian Norris To: Boris Brezillon Cc: Christophe JAILLET , dwmw2@infradead.org, kernel-janitors@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: nand: mpc5121: use 'of_machine_is_compatible' to simplify code Message-ID: <20160123003634.GA16842@google.com> References: <1452408399-5840-1-git-send-email-christophe.jaillet@wanadoo.fr> <20160111135558.6ebd1165@bbrezillon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160111135558.6ebd1165@bbrezillon> List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jan 11, 2016 at 01:55:58PM +0100, Boris Brezillon wrote: > On Sun, 10 Jan 2016 07:46:39 +0100 > Christophe JAILLET wrote: > > > The current code is the same as 'of_machine_is_compatible'. > > So use it in order to remove a few lines of code and to be more > > consistent with other parts of the kernel. > > > > Signed-off-by: Christophe JAILLET > > Your patch looks good from a functional POV, but what is this board > detection hack doing in the NAND driver code in the first place? > > Let's say I didn't see that :-). :) > Reviewed-by: Boris Brezillon Applied to l2-mtd.git/next