From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C24BC433E5 for ; Sat, 18 Jul 2020 15:34:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CCA9D20734 for ; Sat, 18 Jul 2020 15:34:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vNgyqsup"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="qzirfRVS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CCA9D20734 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WSPj1DmHS9FRvkwGNyUvkASzfErr9TupQTul4dNuJ2c=; b=vNgyqsupV+5HF07ZzrZnlA8P/ J8mCKv2+lHCHi/0OBuI2YWhGjcpHX1BqnND1rkU4fMhBmovT4wyaEbjqT8m8Y9FwsMZOwKb8m9IQE jUYF1TADc+ma6cKP5d4COe9biAJXse1HWLqsZ1s9Br7JnyjF7F4RuCofLfaY+d3MDreExAoyuJhSy q+Be1SJzpOnXiGLN6qIE5zoq0n0owtgCziYRETMhvrN1RwFsQMsLsaC1YIaciw+ktAjeDZkIWlzDr 6rm7bUIT94/VR+jx1itJzy81LwuqHe7TH+JB0L7wv6BWpgkwbMHAqDGstKsFNM8GV6vwSgAc+jOC/ lNcGQoC/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwoq3-00057S-QA; Sat, 18 Jul 2020 15:33:24 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwoq1-00056q-3Y for linux-arm-kernel@lists.infradead.org; Sat, 18 Jul 2020 15:33:21 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200718_113321_232494_2E7D317E X-CRM114-Status: GOOD ( 16.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lars@metafoo.de, linux-iio@vger.kernel.org, J Keerthy , linux-kernel@vger.kernel.org, Mikko Ylinen , Amit Kucheria , pmeerw@pmeerw.net, knaack.h@gmx.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel