Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp437046ybh; Sat, 18 Jul 2020 08:36:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7KgcG0cswY+ZcpKfpfHxIxFqn9Mi0JoLIgWTp84qZPcG2pHViz+Op/RtiRFsVB17uLfX3 X-Received: by 2002:a05:6402:1d89:: with SMTP id dk9mr13995982edb.31.1595086569938; Sat, 18 Jul 2020 08:36:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595086569; cv=none; d=google.com; s=arc-20160816; b=Uijn31yLdbA8+DMENA/c5FKVwWdxCkFTfG6YtQSrGCBvLWHYh9TKtsFfn12SJESP6Y 4sOdbkV2xayJiOC37ZD3hOaEXTh1GXdypsNu3zG+WX/yhp+VbmO5YgYrhFYo0E/ivRa3 yQ2kJljc/RfL5huAMac304pN+pdoNt+o9tVwjt/18+ki2HpIZZZcYGzw40BrD+1gy8B+ i1p0hzF+XQKRYkVj9jryxHtkAJ+WHADDFRG3YWXjmtfDKuYAM16MgOLqqiWqIfUj6Tsj 2qwTvQXcnimBQE02QnQFFN4rNfmwL49fsk0VMSe9FA8/UB5V/eToADRU9e31+D4RDRE3 BgVQ== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=xf+/4AJS4uUuVK+kYCOZutku2mmavfAnKmCY2odgV9I=; b=zLzBKuij+mpvUHB/rd5dyBpUsGCHVG+2wIQ5nWamdFHKkiFgKP0cBv59ZHsQq+I4+w k4z2Kqx2fBDp1gXvdByBXXvJGLBRg/1Zo9xar5+LFAa1UQC+s0mK/8/Lzi+RnQuyHcpg frRVu7z0RGnt+2FQrlYGl5WPvACFaOsyUUQ59kxVTif7A3/w99kw8LeYMTU0boNtRxy6 QLIqSwOFiJHtL6k5gQct588F1U6hSEMRkQD+0ete/UnI4DQVXaXg5T79wWwngp1p6bvq may92xBVsHYAMUnESUCGxEga1xGQLauSLxgETsXlHZWogv8qywLrc+CDFEa7t0G2EQo1 saiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qzirfRVS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si7373351ejx.143.2020.07.18.08.35.47; Sat, 18 Jul 2020 08:36:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qzirfRVS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727876AbgGRPdV (ORCPT + 99 others); Sat, 18 Jul 2020 11:33:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:41698 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726829AbgGRPdV (ORCPT ); Sat, 18 Jul 2020 11:33:21 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AC2E920734; Sat, 18 Jul 2020 15:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595086400; bh=fgzI3qLM4aPdSKLycUITv5yItcQksA1tIB1bNjqV/Qo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qzirfRVSK0Z1Nb2VomqUf2IChB7xsQ26iWOmhMnNBpjLNDI8J6kqvWjtHdBnnCxAk 6Btp5R4ikm/XBW7W6Ax5td9w2euQ9kMVi2nN0FQqWjZXpBFN1NHaatmTVIyw9AWRxQ /DJCR0qQujAzupNtHSdqdLpRP7Rb5SU+R0bj9YVo= Date: Sat, 18 Jul 2020 16:33:15 +0100 From: Jonathan Cameron To: Lee Jones Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, J Keerthy , Mikko Ylinen , Amit Kucheria Subject: Re: [PATCH 03/30] iio: adc: twl4030-madc: Fix misnamed struct attribute Message-ID: <20200718163315.631513b0@archlinux> In-Reply-To: <20200717165538.3275050-4-lee.jones@linaro.org> References: <20200717165538.3275050-1-lee.jones@linaro.org> <20200717165538.3275050-4-lee.jones@linaro.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jul 2020 17:55:11 +0100 Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/iio/adc/twl4030-madc.c:170: warning: Function parameter or member 'usb3v1' not described in 'twl4030_madc_data' > > Cc: J Keerthy > Cc: Mikko Ylinen > Cc: Amit Kucheria > Signed-off-by: Lee Jones Applied with a note that this also cleans up the duplicate docs for lock. Thanks, Jonathan > --- > drivers/iio/adc/twl4030-madc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c > index 826d8295e9b3c..882a678b44690 100644 > --- a/drivers/iio/adc/twl4030-madc.c > +++ b/drivers/iio/adc/twl4030-madc.c > @@ -153,7 +153,7 @@ enum sample_type { > * struct twl4030_madc_data - a container for madc info > * @dev: Pointer to device structure for madc > * @lock: Mutex protecting this data structure > - * @regulator: Pointer to bias regulator for madc > + * @usb3v1: Pointer to bias regulator for madc > * @requests: Array of request struct corresponding to SW1, SW2 and RT > * @use_second_irq: IRQ selection (main or co-processor) > * @imr: Interrupt mask register of MADC > @@ -161,7 +161,7 @@ enum sample_type { > */ > struct twl4030_madc_data { > struct device *dev; > - struct mutex lock; /* mutex protecting this data structure */ > + struct mutex lock; > struct regulator *usb3v1; > struct twl4030_madc_request requests[TWL4030_MADC_NUM_METHODS]; > bool use_second_irq;