Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2456425imm; Mon, 10 Sep 2018 01:12:07 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZn9X3sLAsCH46C+S2pPTbuynY7/uSsJjFlDHX7XJ114lRyjQ4qFDJlDgp4OcohECQ0vXnw X-Received: by 2002:a63:40c7:: with SMTP id n190-v6mr21588354pga.116.1536567127080; Mon, 10 Sep 2018 01:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536567127; cv=none; d=google.com; s=arc-20160816; b=B4p3slSpHNgj2yoSNafUb5K8MjOdCCtBpr4vaDY7KReZr8Y0pXD8DOnpX/LgWDCCkC qNMt6jK/f46AQdBMHdTQNHkhTfrpVtZeKjw4IKocX0Kw1rm8mMxyxLQbnxyYCUoqagUs 4GNcl24/InYolrIOsDyQY04LJPKPAifHFiND7xTxlCGIQ9H8UkBQ5qV1NoD0zE4AqWll +SxA0X769qk0ll0sgTvRR/wwMxgcFWZ6jL8QnH3UspMtoCQ4cxSihi68nd5KLcJtYPwp 5b/cjIQcMvTJB1FX+7hl/2Lk9WqKvo1k8lCmEMQmQvxeV+LFIBjnWIsGZ0C5dOyBEF4k 4tnQ== 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=q07PyOKIk8CQfsWY5q6zv9cHBwK4Th+z1ytvJK8mbpc=; b=rYPqvirY9aHWE7AqluFz/qwiDU4U6AmF+a0dk9l/mAPLoR00oXnAGJHkhN9PnHrSy8 TCEh29HqlPxh2W4dGXJCaZdeXCPHt6mv8XnAwDNcZXFu84JlIVlpCR1NnOOF7O0G10BS s/Bmo3zfEehYZ8TyUZ0kGw/Y1kfuSgB803RimS8MyYeQAxtFHQkErriNQwEgWO/7xTTk KF2RrnfrvRLXPKv7UCpC9PFxb3berDoIZGKa2OmB7BtNXDUBMl75XvVc39xcAr4gUUQs 4oFHbvz384dQo6ZkEYDVC6A2t0ciy2zEkmK6zmfmN+vSsPBkHMbnaMKYa4HHP2qzfbL+ q+rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ImVsISrK; 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 p6-v6si16636216pfh.266.2018.09.10.01.11.51; Mon, 10 Sep 2018 01:12:07 -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=ImVsISrK; 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 S1727763AbeIJNCM (ORCPT + 99 others); Mon, 10 Sep 2018 09:02:12 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50955 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727261AbeIJNCM (ORCPT ); Mon, 10 Sep 2018 09:02:12 -0400 Received: by mail-wm0-f67.google.com with SMTP id s12-v6so20532350wmc.0 for ; Mon, 10 Sep 2018 01:09:23 -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=q07PyOKIk8CQfsWY5q6zv9cHBwK4Th+z1ytvJK8mbpc=; b=ImVsISrK4jf3r+H9eNttGAQodbS9ZadOBeHbMCGE+tZP9P43kAw11i4mByPiS0xaw3 90e+p42BKtlZFfzh1dzIIRod4CIQ6WMuksudj3rz1QXxjHUtwraI60q6tw1+O3FbO2X7 cD2TsjuZiYUEdcjFE7Q2ZbKUT0baz4UY2Imt0= 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=q07PyOKIk8CQfsWY5q6zv9cHBwK4Th+z1ytvJK8mbpc=; b=OJIpcnlpxmzyWWG9CCP5ctlWyFUcNt4Ujn3k85Kto3NCqg/MkD51wTUuLfzD5uKJhU H++ryVvdsiS5bEogmigsT8xcUwrBjZNVYMFcgQ7Gxw0ugTgtwveB9eStlu84V2fkFfxN tKM+f0s9FEJ96t3QNTjxO3942qC6Bz8zwB+QWpBXQD7zSllR5A4LSv1wyy22Y3SOjkyH vfcePayv8SnoCLWHk0WXc2aUlv1HRlgdIPfqYg15f/gQXsOmffEBUZcAWSq+lPGeIYa6 5NJIpVOELscH0H5QzLBxkirb6sep9C1IUphl4RRUStiwUQiqluWAU0mB/LkFwKsS5u5O o1IQ== X-Gm-Message-State: APzg51CXNM1BWM6vAmDHe6CD1v9oMeAzS6jH8t2uxK4SOpVnHmPLEvr8 QIKn+JxA3st932yRibho7OT5Eg== X-Received: by 2002:a1c:9ac9:: with SMTP id c192-v6mr11779934wme.47.1536566962800; Mon, 10 Sep 2018 01:09:22 -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 o3-v6sm18678891wrn.58.2018.09.10.01.09.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 01:09:22 -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> From: Srinivas Kandagatla Message-ID: <7e138142-8161-3646-4daf-619995baf395@linaro.org> Date: Mon, 10 Sep 2018 09:09:20 +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 08:58, Bartosz Golaszewski wrote: > 2018-09-10 9:32 GMT+02:00 Srinivas Kandagatla : >> >> >> On 07/09/18 11:07, Bartosz Golaszewski wrote: >>> >>> From: Bartosz Golaszewski >>> >>> Remove all APIs dealing with nvmem_cell_info. There are no users and >>> this part of the subsystem will be reworked. >>> >>> This patch temprarily disables support for non-DT users. >>> >>> Signed-off-by: Bartosz Golaszewski >>> --- >>> drivers/nvmem/core.c | 212 ++------------------------------- >>> include/linux/nvmem-consumer.h | 26 ---- >>> include/linux/nvmem-provider.h | 13 -- >>> 3 files changed, 12 insertions(+), 239 deletions(-) >> >> >> This looks totally un-necessary, Other patches in this series adds them >> back.. Consider updating these in those respective patches.! >> > > While this may not be entirely necessary, it's very useful. There's Yes, thats exactly what am saying if it not necessary please do not do it. > almost nothing common between this API and the new one added later in There is more than 60%-70% of the code reused in new patches, which is unnecessary churn to me! > 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! --srini > > Best regards, > Bart >