From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932418AbcE2QXl (ORCPT ); Sun, 29 May 2016 12:23:41 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:33466 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbcE2QXk (ORCPT ); Sun, 29 May 2016 12:23:40 -0400 Subject: Re: [PATCH 1/1] iio: light: Added CM36672 Proximity Sensor Driver. To: Peter Meerwald-Stadler , Kevin Tsai References: <1464482526-862-1-git-send-email-capellamicro@gmail.com> Cc: Hartmut Knaack , Lars-Peter Clausen , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org From: Jonathan Cameron Message-ID: <68f15180-cba4-8afe-1237-be47ae3a7955@kernel.org> Date: Sun, 29 May 2016 17:23:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: 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 29/05/16 09:55, Peter Meerwald-Stadler wrote: > On Sat, 28 May 2016, Kevin Tsai wrote: > >> Added Vishay Capella CM36672 Proximity Sensor IIO driver. Support both >> ACPI and Device Tree. > > comments below > >> Signed-off-by: Kevin Tsai >> --- >> +#ifdef CONFIG_ACPI >> +/** >> + * cm36672_acpi_get_cpm_info() - Get CPM object from ACPI >> + * @client: pointer of struct i2c_client. >> + * @obj_name: pointer of ACPI object name. >> + * @count: maximum size of return array. >> + * @vals: pointer of array for return elements. >> + * >> + * Convert ACPI CPM table to array. Special thanks Srinivas Pandruvada's > > thanks for thanks to (if we are getting picky ;) > >> + * help to implement this routine. >> + * >> + * Return: -ENODEV for fail. Otherwise is number of elements. > > Otherwise the number of elements >