From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752577AbcGSFgX (ORCPT ); Tue, 19 Jul 2016 01:36:23 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:57867 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752551AbcGSFgU (ORCPT ); Tue, 19 Jul 2016 01:36:20 -0400 Subject: Re: [PATCH 01/10] mfd: cros_ec: add ChromeOS EC sensor platform information. To: Enric Balletbo i Serra , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org References: <1468825370-20075-1-git-send-email-enric.balletbo@collabora.com> <1468825370-20075-2-git-send-email-enric.balletbo@collabora.com> Cc: Olof Johansson , Lee Jones , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Guenter Roeck , Gwendal Grignou From: Jonathan Cameron Message-ID: Date: Mon, 18 Jul 2016 14:43:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1468825370-20075-2-git-send-email-enric.balletbo@collabora.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/07/16 08:02, Enric Balletbo i Serra wrote: > The platform information will be used for the new cros-ec sensors driver > that presents sensors attached to the ChromeOS Embedded Controller. > > Signed-off-by: Gwendal Grignou > Signed-off-by: Enric Balletbo i Serra Bring this in as an when you need it in the rest of the series. It certainly doesn't need it's own patch. > --- > include/linux/mfd/cros_ec.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h > index d6539c1..cd4833a 100644 > --- a/include/linux/mfd/cros_ec.h > +++ b/include/linux/mfd/cros_ec.h > @@ -151,6 +151,16 @@ struct cros_ec_device { > int event_size; > }; > Check your kernel doc formatting. > +/* struct cros_ec_sensor_platform - ChromeOS EC sensor platform information > + * > + * On top of cros_ec_devicem information cros_ec_sensors needs. > + * > + * @sensor_num: Id of the sensor, as reported by the EC. > + */ > +struct cros_ec_sensor_platform { > + u8 sensor_num; > +}; > + > /* struct cros_ec_platform - ChromeOS EC platform information > * > * @ec_name: name of EC device (e.g. 'cros-ec', 'cros-pd', ...) >