Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp187120ybl; Wed, 4 Dec 2019 00:40:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxLTodXPpP1hb5kkWqxbvxzaqY1MjAO3vLhnxKny0k1uzwFaZMXJwhCAeYtb9XBAAv+kU5t X-Received: by 2002:aca:3456:: with SMTP id b83mr1678741oia.82.1575448856944; Wed, 04 Dec 2019 00:40:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575448856; cv=none; d=google.com; s=arc-20160816; b=k9IPIBerO2UOYS0PbjFru++mNzh5WepF+VcEuKIBY0slKtI8VQ0/nuaaFVbE4nxt/3 EDgFM2pzoBQO5EhiKVb/yyAvTIz4s9ak1MkM+rkcm5oKkR84gekQdgf3EFt7XQjOcvOh 06DxgoyHC68DOx3nL0FPRGLVXg37hE/k010CJBIGappRDDpVP0wwSNlxev/w6MJzYGuP A98cZOi+Y3kEG8WOE+LQp/Tpq5IHPUOspBoN9P4Jc6ZRk1cuEPGxEPxZmczldvtMPxbf nx2X70oM7dF3XL/CcYGMO8vA+fanp8bX1Vj/ieQnrUeJrFqwE49oOLX4Iph1OarO/PGq OOmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CPOGV/8IiCeIDG6XJD4N+CaTFPOjpb+amQn4DTTeuHo=; b=nEy6Ncw7aPa72x9eXOitNn0FOXsjmfMudyLwIzPoEYBvYN3dMf0JMFVKQsXCfPxtrS szn9aGuy066F5xydvZvnnw8pQrPdnk2mxcsR11uquOhjo/zDfcnyZAcnJ/hEZ4Bn9HR9 ZXCXrGNrNdDx9IdqXXMEcifZfgrCAXOQMw9w9fPeVJ2FskjNp03hC51T9VBNMShxWE83 6Bqpv0d3iUyCKlLdn6TgUUMd8C+ZzkybFLpi0HuWTZXy14aGORvzxZ7uwz36Zyrii+nr dur1RgmKjGNEdnewid6a42mr/k5zcPkCexet9lJpGluy1PTOyuzl+ozt2iNORBhninOh r4sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X5Am9237; 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 x22si2874562otp.107.2019.12.04.00.40.44; Wed, 04 Dec 2019 00:40:56 -0800 (PST) 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=X5Am9237; 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 S1727298AbfLDIkC (ORCPT + 99 others); Wed, 4 Dec 2019 03:40:02 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:50523 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727227AbfLDIkC (ORCPT ); Wed, 4 Dec 2019 03:40:02 -0500 Received: by mail-wm1-f65.google.com with SMTP id p9so6077753wmg.0 for ; Wed, 04 Dec 2019 00:40:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=CPOGV/8IiCeIDG6XJD4N+CaTFPOjpb+amQn4DTTeuHo=; b=X5Am9237hdiu6SnRkdyqee4vsw8T7ZqjCBI3yb7DZtKwSnl6ITPjk7DNLJ78DKGT6q UUxb/19tu496J3HIyM0tfQgt3Z7Uo5cmy2ysTjGfxKRRX4jL3qUlikni63lqci0Jq+9H VBOWmPyZG1B34OVgWLRULEqTpXB+tkGJsicr/xALm7ryx3FxY8gV4ssHm7T18th8XmOg ufGepWN+N3UHP3EBWuGF7eA2QB4loRx439JDOz++RSgj7om7t7JomlM9/ezphgKwAby2 dhKG5ka9Qdkn8KbkVqKkkl51YJcj5xfwQiNjKb/RYQttkn4xKADSth3/N7/Txzw3jqqa lX3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=CPOGV/8IiCeIDG6XJD4N+CaTFPOjpb+amQn4DTTeuHo=; b=dQ46jbig7kQ650EE/kVKwnsGiqvNZB8tWPx7GDDy3DcaQJm1A5TDjfejNyZ4Qc9UlD N/QvOY+DOJiTDWsRGu6S8mtIIA9D2J/O2HkinL8c3Q8a8NWoU5/xe1Gw7w05GxTtaiZW GM8knAqYmtEfHtguvnWCU+pQjw8/3Rh1Cn7S2zryODMMGXqAMXJ52MCAWaSToT+m2Q/q ABGogxMxwTlHzbOQexlLGPtbzPWTXjqUEdDUm85DOvOIfWcm9jRL5CqFvxaJ0jddf5vg ZBimyYHkb9yX5GK2lGdhlq2c9DZyyHbEktE8uj7Q3WwOrAmJtHO9WdMGqZROGbHb0cgP eY4A== X-Gm-Message-State: APjAAAVNIoPguaxyFmOGyk1cQIMpOKjGiHDhOcws3Eaw7v2KAWO0EXPD Z9JQY3/I7SeLEOLvdvzNS9dYaQ== X-Received: by 2002:a7b:c778:: with SMTP id x24mr23525248wmk.119.1575448800004; Wed, 04 Dec 2019 00:40:00 -0800 (PST) Received: from dell ([2.27.167.28]) by smtp.gmail.com with ESMTPSA id c1sm7152787wrs.24.2019.12.04.00.39.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 00:39:59 -0800 (PST) Date: Wed, 4 Dec 2019 08:39:50 +0000 From: Lee Jones To: Enric Balletbo i Serra Cc: linux-kernel@vger.kernel.org, Collabora Kernel ML , groeck@chromium.org, bleung@chromium.org, dtor@chromium.org, gwendal@chromium.org, Mauro Carvalho Chehab , Alessandro Zummo , linux-iio@vger.kernel.org, Nick Vaccaro , Fabien Lahoudere , Alexandre Belloni , linux-rtc@vger.kernel.org, Chanwoo Choi , "Gustavo A. R. Silva" , Sebastian Reichel , Lars-Peter Clausen , Jonathan Cameron , Peter Meerwald-Stadler , linux-media@vger.kernel.org, linux-pm@vger.kernel.org, Evan Green , Hartmut Knaack , Mark Brown , Neil Armstrong , Dmitry Torokhov , Hans Verkuil Subject: Re: [PATCH] cros_ec: treewide: Remove 'include/linux/mfd/cros_ec.h' Message-ID: <20191204083950.GB3468@dell> References: <20191203145018.14015-1-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191203145018.14015-1-enric.balletbo@collabora.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 03 Dec 2019, Enric Balletbo i Serra wrote: > This header file now only includes the cros_ec_dev struct, however, is the > 'include/linux/platform_data/cros_ec_proto.h' who contains the definition of > all the Chrome OS EC related structs. There is no reason to have a > separate include for this struct so move to the place where other > structs are defined. That way, we can remove the include itself, but also > simplify the common pattern > > #include > #include > > for a single include > > #include > > The changes to remove the cros_ec.h include were generated with the > following shell script: > > git grep -l "" | xargs sed -i '//d' > > Signed-off-by: Enric Balletbo i Serra > --- > > drivers/iio/accel/cros_ec_accel_legacy.c | 1 - > .../common/cros_ec_sensors/cros_ec_sensors.c | 1 - > .../cros_ec_sensors/cros_ec_sensors_core.c | 1 - > drivers/iio/light/cros_ec_light_prox.c | 1 - > drivers/iio/pressure/cros_ec_baro.c | 1 - > .../media/platform/cros-ec-cec/cros-ec-cec.c | 1 - > drivers/mfd/cros_ec_dev.c | 1 - Acked-by: Lee Jones > drivers/platform/chrome/cros_ec_chardev.c | 1 - > drivers/platform/chrome/cros_ec_debugfs.c | 1 - > drivers/platform/chrome/cros_ec_lightbar.c | 1 - > drivers/platform/chrome/cros_ec_sensorhub.c | 1 - > drivers/platform/chrome/cros_ec_sysfs.c | 1 - > drivers/platform/chrome/cros_ec_vbc.c | 1 - > drivers/platform/chrome/cros_usbpd_logger.c | 1 - > drivers/power/supply/cros_usbpd-charger.c | 1 - > drivers/rtc/rtc-cros-ec.c | 1 - > include/linux/mfd/cros_ec.h | 35 ------------------- > include/linux/platform_data/cros_ec_proto.h | 23 +++++++++++- > 18 files changed, 22 insertions(+), 52 deletions(-) > delete mode 100644 include/linux/mfd/cros_ec.h -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog