From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751920AbbKAALd (ORCPT ); Sat, 31 Oct 2015 20:11:33 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:35898 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbbKAALc (ORCPT ); Sat, 31 Oct 2015 20:11:32 -0400 Date: Sat, 31 Oct 2015 17:11:16 -0700 From: Brian Norris To: Marek Vasut Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Boris Brezillon , Ezequiel Garcia , Scott Wood , Josh Wu , Robert Jarzmik , Kyungmin Park , Han Xu Subject: Re: [PATCH v2 09/11] mtd: drop unnecessary partition parser data Message-ID: <20151101001116.GA15888@brian-ubuntu> References: <1446262410-45754-1-git-send-email-computersforpeace@gmail.com> <1446262410-45754-10-git-send-email-computersforpeace@gmail.com> <201510311626.32863.marex@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201510311626.32863.marex@denx.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 31, 2015 at 04:26:32PM +0100, Marek Vasut wrote: > On Saturday, October 31, 2015 at 04:33:28 AM, Brian Norris wrote: > > - mtd_device_parse_register(info->cmtd, part_probe_types, &ppdata, > > + mtd_device_parse_register(info->cmtd, part_probe_types, NULL, > > Did you miss this one ? What about it? I removed the parser data (the third argument), but I can't yet drop the 2nd argument, since those parser types are different than the defaults. So I can't drop any more arguments, nor can I convert this to mtd_device_register(). (Now, I'd like to improve the device tree handling of parser types, so we don't need any more specialized handling in drivers like this.) > > NULL, 0); > > of_free_probes(part_probe_types); > > > > > This is really good, I like to see the ppdata nonsense finally going away. > > Reviewed-by: Marek Vasut Thanks for the review! I'm happy to kill off much of this nonsense too. And I think this will help in the long run on some other things too, since now we have a canonical place to put common MTD bindings. Brian