Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2650165imm; Mon, 10 Sep 2018 04:35:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZKQJyGtqqywymQkkBhoO00/3IT8pXTgqymdPf/bzETaVsD7eUd3SJJ1LODw0HwKtTPGkHo X-Received: by 2002:a17:902:6b0b:: with SMTP id o11-v6mr21342421plk.214.1536579312742; Mon, 10 Sep 2018 04:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536579312; cv=none; d=google.com; s=arc-20160816; b=W/APkQurrZk6dxx/EwU9KYUgUr+p/zEb3GZ8TM8/15ECUYbKCjZwmx2pT1zjfP+bgn RlM1Ri58YFhYAjiGN4mPu3rUBRtnVVoPOjZutVxB77OkWy+jt3/nG6iRSofMPLCfogR1 FsPaITTSl69zBhUYywoL/ttxjZK4xSClO5wQGsO2iy0w/h9esgkVXyolAmCiCpTuaGBA EwrpVTjJK4is8pokIqYK4ryxfuuPuedD5ycjxaZYTx8WQNTYjoQYXzddbnVsxpcPIsTu xaSvxeein6hwIWETYb2XiNxi9HqyqFpJYzA23WeFa6DQnA1W7rP7zKSbRO1SIyCtzzX9 BNRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=5hzN2CbjlcVlmmDcho0jfhM4nc92z2Fa+lWUPpwRG0k=; b=vOqI01CXq4R2Jj71mKp665Ws8SOo22MSpttWCrqwDAmx48FqR7D881IgWU0ltX/Nq0 02hB7CqPLDV7vKHiXWv5onpA0RGJShhilQhyQ4xMZfRL6++u2K9Ge+XPOCnDbjMDxOG5 mAwu+fCS4YzLazxhWNJozU6f+bcppuxta0+LzkOYNnVaoKt+CqtwaWyo4JAAzPXDkQIi Q9al/CZNFTqEsTTzBMJyrfwD3kZijx0STYqzKxijnu678z0J29C0V0eKwaE5/B+O2b4v HgkdSFAZ3/ZmDJbj2ljrR3VmfgSMuvfB9KOug5QjYEf6s12bgaEkvS13VnPCDAr46zGf Pnwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="vAVw7K5/"; 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 k4-v6si17285918pfc.328.2018.09.10.04.34.57; Mon, 10 Sep 2018 04:35:12 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="vAVw7K5/"; 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 S1728489AbeIJQZQ (ORCPT + 99 others); Mon, 10 Sep 2018 12:25:16 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:40229 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728475AbeIJQZP (ORCPT ); Mon, 10 Sep 2018 12:25:15 -0400 Received: by mail-it0-f66.google.com with SMTP id h23-v6so28141946ita.5 for ; Mon, 10 Sep 2018 04:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5hzN2CbjlcVlmmDcho0jfhM4nc92z2Fa+lWUPpwRG0k=; b=vAVw7K5/5aT19KgdSr1/5HleIJjSuXgeZuJkktYHDtFcwmexkUIEKmmukG6/H8RHrS J86Fs8FHQJ6TkX4JXU99c0ptfpJrmuVPZlynwUuZkJuiAZm1fF1LEV/luiV9ZnMA6Bvh PevMjKt361h77FWp6nmMhHVDlvU5SJxBcuDYzOro0nBAIT0vBRQLHaF4xfCn5PArsTNs UhPng3qgHehzRBB02q1RGaPYvpaUL7YZJPdeDR4JBMkHzBicwsFrIJkqfw0w1We+6YgM Bwc4HWGMOQL+m4jfzIsah/vaWiwcxQRIkl8pUyUfB2IvL7RyCuONtAyUMUBDMuXkce7p jaIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5hzN2CbjlcVlmmDcho0jfhM4nc92z2Fa+lWUPpwRG0k=; b=cJheedBceffmAnKb0xqtEPp5eFR/gZc+uuhJJTe9P9sWhi81lCGnW9mStXHBx0I2RC cHML6DmuNMSiLy90Lo2xQTcnFEHwjrn/88Asoc4MU84BnXVzsf3lR3qxRPhfVUbawSHa Rj8uSO0q2Y0Jo5qR/vVpYpPpExcMvMO0+oB+7DtQ5gUpsWHjAViOVwMGb+haHWLh1Ltk hnim6RAnknfhpJcDwoTtzErHggRutwXd48ktqPOSuDwubZEpeNsnGv55J9ikc12bpjmF 8NrWvgfNlquDOojyBCA1t//W/icpJtGwSjmUmGLHvWoel3D4qUDbSc1iDMUCdt2gMCAv 4bBg== X-Gm-Message-State: APzg51DFaD1qiqjEvXbebDgN1UYYgWF2H6Z7Fp/yvUdv3wEAB0d9QeG+ gVXBVTNyJUupJ1a3vyFAXNsJzEzuOjlSXWoTiCoaNQ== X-Received: by 2002:a02:5f44:: with SMTP id r65-v6mr18151637jab.34.1536579097944; Mon, 10 Sep 2018 04:31:37 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:1905:0:0:0:0:0 with HTTP; Mon, 10 Sep 2018 04:31:37 -0700 (PDT) In-Reply-To: <3dbd65e5-c948-a784-0362-930fc41b840e@linaro.org> References: <20180907100750.14564-1-brgl@bgdev.pl> <20180907100750.14564-2-brgl@bgdev.pl> <7e138142-8161-3646-4daf-619995baf395@linaro.org> <3dbd65e5-c948-a784-0362-930fc41b840e@linaro.org> From: Bartosz Golaszewski Date: Mon, 10 Sep 2018 13:31:37 +0200 Message-ID: Subject: Re: [PATCH v2 01/16] nvmem: remove unused APIs To: Srinivas Kandagatla Cc: "David S . Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Andrew Morton , Arnd Bergmann , Jonathan Corbet , Sekhar Nori , Kevin Hilman , David Lechner , Boris Brezillon , Andrew Lunn , Alban Bedel , Maxime Ripard , Chen-Yu Tsai , linux-doc , Linux Kernel Mailing List , Linux ARM , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-09-10 11:55 GMT+02:00 Srinivas Kandagatla : > > > On 10/09/18 09:43, Bartosz Golaszewski wrote: >>>> >>>> this series. Later patches are MUCH cleaner thanks to this removal and >>>> I believe it makes them easier for review. >>> >>> Am not sure about that, it definitely did not help me! >>> >> Why exactly? Aren't clean patches resulting from this removal easier >> to read then if they'd also have to take into account the burden of >> existing code that will be changes anyway later? I really don't see >> why you insist on removing this. > > > Here are few reasons: > > 1> TBH, This cleanup patch removes more than one feature from nvmem > subsystem. > Ex: it remove ability to add static cell from nvmem config, secondly it > removed ability to read/write cells directly using nvmem_cell_info. > About that: there are no users of nvmem_device_cell_read/write() currently and with the new API I'm not sure this is still needed. Are you alright with removing those two? Bart > 2> If you do changes as part of each patch, it will be much traceable on > what is changed exactly and will allow much better review, and understand > the reasoning. > > Having a clean start and writing code on top of it is alway nice, but we > will definitely miss things in review in this particular instance. > > > thanks, > srini > >> >> Best regards, >> Bart >> >