Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2549088imm; Mon, 10 Sep 2018 02:56:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaTXbw65zESLsIaBjVaaMq4nxQue2QlpDbm+cZ4GlMq9EfoQwGS8DUW5pV8Ac+OQY+a7qIX X-Received: by 2002:a63:a012:: with SMTP id r18-v6mr21882742pge.166.1536573409022; Mon, 10 Sep 2018 02:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536573408; cv=none; d=google.com; s=arc-20160816; b=HZelUxgwef7h221vTKSmccYA8zMvnYVBiym+FMC5DmRss2s6O93vJ4XMMbmWCq9HLN 7kUKd8YkFgF5cyTFkqbxADTNedZzuU0XRU5K2r6vDaDLeH7vf3nv2j+hq8lH2gP/fpoZ jL4jhlTOVVlJDvySBTBYIX2+HrUfcoslcniMc3PEYGl5qrD6jibEk3VwFd2nAaYqtqzq ge7EFOljw4K4X/STo3hw6rdFTaNM04TiqRcTcLxVyL7WQGfjG5RSPyQHhfG4uLnGKZFJ fktyHkFcaqOdS7veOGohExHdgvEnJEqRClvuqrfIB98dq7TAvcgo/wvCISNfvM3IjqiF KfoQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=unYRDWjIMrkoqr4iNefiY8OtZceFXevztjbbjXtLjb0=; b=SK8Aydo7R0efl33XGgOV5+nl/IiQWl49iSYzlRFytIFxcHvZCgRRGUrNJy07U2ReJJ sdluPopuN6idsIkWn1QzCbNCE+NfYifVtgNqVfGEnvXoihWV2JuAq/v4gdKtavb5gBOA a3UHX/L1f7RX9AlpEKmmKTWmvErZEsbz1phwioCvxWu7O9Y9ofCHEBW51TKpTht3Z7Tx AofVVim6qIJm7fqEyN/0C2w8VgqIrGPatP4rgM0t9zWyGpOQqWGC90CTS3QX9purbhDh HjgM9Y4yWELXDJXoyIFBd78/bLfBMAzcStyHzqkI9zriDc9+7WxZE3Ynxva0i6FwyQXt 6uZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ShsfoSHh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3-v6si16778014pgh.359.2018.09.10.02.56.33; Mon, 10 Sep 2018 02:56:48 -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=@linaro.org header.s=google header.b=ShsfoSHh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727877AbeIJOsk (ORCPT + 99 others); Mon, 10 Sep 2018 10:48:40 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:41516 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727353AbeIJOsk (ORCPT ); Mon, 10 Sep 2018 10:48:40 -0400 Received: by mail-ed1-f65.google.com with SMTP id f38-v6so15998906edd.8 for ; Mon, 10 Sep 2018 02:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=unYRDWjIMrkoqr4iNefiY8OtZceFXevztjbbjXtLjb0=; b=ShsfoSHhp77Rj7KZkQ+MXq0T5m2KzkVPbJEalMPeiFJ83UQ3uaYyz4jwvwcIbkL4WM Z9yqBwK2eo6kqjMLUMgbE/mj+qTCD94BL+UvFw3IMLTGLD9rSZsF2nbqeNkNDy59YCtX 07+1IO03qtKEm9D0Yhx//PCBoJl1pc4ludXl8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=unYRDWjIMrkoqr4iNefiY8OtZceFXevztjbbjXtLjb0=; b=ltiNKZugnEDiIog2PjdcG18A0YP5x9i7jMWpRu4lxKjxM5pkcM/+sPtsYVBgES09c/ P60LT1lFRZ5W4AK6ZMx6snxRX59I8D+GiXCatJoZ7olkz1GhAUQenOZkjjBwlgnR64ix z/Rw815PTj2sPOSGTd+nsVvBOPMiw92nu8i54w+oAzIQBLQfC2DlPox7j0SlMs/Z3xg4 UuKJE8FkbHU2oKjFzPZ/aH6BYnGBFpbybMygKMFKoNgSv1rheXMS67vmDB/tZOL81w0b Ls33h3vwwFfFtD3t32VxABNoqenzP5mt2+lYv7vleKZSE8pDfdfI4pyQDtI91WyePnxv 6W8A== X-Gm-Message-State: APzg51BXui12Q+/Voz9eiQyxC/8GwcYtuLaVM20XRmYcRPiSQzNyJzmn 4OuUkIPT8b+vfR01Eu5Xsu97Aw== X-Received: by 2002:a50:8646:: with SMTP id 6-v6mr21777171edt.259.1536573324837; Mon, 10 Sep 2018 02:55:24 -0700 (PDT) Received: from [192.168.0.18] (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.googlemail.com with ESMTPSA id d56-v6sm8217584edb.7.2018.09.10.02.55.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 02:55:24 -0700 (PDT) Subject: Re: [PATCH v2 01/16] nvmem: remove unused APIs To: Bartosz Golaszewski 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 References: <20180907100750.14564-1-brgl@bgdev.pl> <20180907100750.14564-2-brgl@bgdev.pl> <7e138142-8161-3646-4daf-619995baf395@linaro.org> From: Srinivas Kandagatla Message-ID: <3dbd65e5-c948-a784-0362-930fc41b840e@linaro.org> Date: Mon, 10 Sep 2018 10:55:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 >