Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2130608ybh; Fri, 17 Jul 2020 09:59:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf/XeazrjwWtAuOYGCFw86qyqra3dAADXkNF94N/Y9M43XQxnLEZQv4loUE1YrBPn799Pi X-Received: by 2002:a05:6402:1ca8:: with SMTP id cz8mr9815512edb.55.1595005173626; Fri, 17 Jul 2020 09:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595005173; cv=none; d=google.com; s=arc-20160816; b=Xf25B/u6cnVkXO1m2mRSyBecGdUrrf0WgVHpMhwHv3jJAL4ub5miqVEiu+KaRTcJix vcVyw1A2yEvDsBFQc4hIBPIvI7PPkiKmPVVmq5uj1w06Rj20gmj4+8HHp6/laQgarw75 8pcJAa0HyYZKGa6cAOYmb0caTXS4hbeZh3+CSbkL3VXaxEB7o9Onzz/TVlJIefVgynQC hO8plZCxzNyZGLQC/TvyDG1UnAaN1dnx03h8i6rGMVsBEh4ZQ39sxh5LM9InxUyp9mWm bQV3LXufqtOx7TQ728a7u5yoFBC1OC+J8MttvtbXdVi/rZmcKZqgW24E60Zl+CXlXIAw j34A== 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:date:subject:cc:to:from :dkim-signature; bh=lIupI+tKAOz6AMhKMQ/MUZEWjIHVvy3yhlR142kJJzQ=; b=VMwkd+wxE3sYnk0xzD5MyU4DdQnQo4PSwgHM75zrnp+KRPMBHv0LQLvYqUD3fYl3DF CJNOgBWFspec1JfbRiKxstYv+TdCHDRHsDvING4Esmf4EJnMO/uZ8rqD1BngcI29G+9T m8QcYLKxqlBRrJmuk+bTaBnZWfWLNPSbACAQMg0zA9dw+YMxT9mlOjBjeB8gXt7Wzomt cnU7kfBJtpjqnYPRdBV9znMrJYjYcl/E/o3AGFJX4jx8aEIMlYT6uSowQKwOMatSVmMb jYPzJiWwhM2amT5RwPu5/OiVIl1IAu/MZMYdW2BIzLpDK9jRCzxeZjJVycVNlxVtWNyy KfZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C7HneBkE; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ml21si5258735ejb.261.2020.07.17.09.59.11; Fri, 17 Jul 2020 09:59:33 -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=@linaro.org header.s=google header.b=C7HneBkE; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727062AbgGQQ4J (ORCPT + 99 others); Fri, 17 Jul 2020 12:56:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbgGQQ4D (ORCPT ); Fri, 17 Jul 2020 12:56:03 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8376C0619D3 for ; Fri, 17 Jul 2020 09:56:02 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f2so11872180wrp.7 for ; Fri, 17 Jul 2020 09:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIupI+tKAOz6AMhKMQ/MUZEWjIHVvy3yhlR142kJJzQ=; b=C7HneBkEgxiePq6cP+uc0msARkXKZ68uMEWX9XvHJk51XE/BiAVtq27WtsiRaWpZOl blIPdgePFo/nZeZ1gGvbiyp6TXMBSerIKtneJiwHtDGhX3/19NJd9qNmpRmEAOcUInjE Joe3OOs7tX+fan+SF++O2aDxnMg6VJQNfwqM/hTuZ4VIQcR8NDL0ukAmnVHHLyhL6cjA BiPU9T/6ho43X4D/ukf7LCo72Ha6TdYmz7wne2DouxCak7hk442qzdOgHuEiGgKAx4Of JA16zWN7T2bMrYEvs/D+rqAHHbROXFn23jNHTHTADeK4nBcwhUjM5TBGRGvGVLOWMKZU mKmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIupI+tKAOz6AMhKMQ/MUZEWjIHVvy3yhlR142kJJzQ=; b=Vp9yydnRM0Nr2fHpicFbcH/VmqsjluUFypiADHnBVqYlvNjIH7BRZmNMt6+ix3gGIY yplK56x6fUa5Wc0Hf42OtDr2cuDSsWSU8wHfnOF5Ex+4kBD005vEGx9KtRknvkyOiG0c yM6AjKCVInck8MHaJVcD8igZfBWVgAVZDJuV2pU7SRjNsucXFgUoLdJMDDNkmO5K5+O6 1ECieqYKLQ2VFfUkJ8R9+XFmZpEzU/z/4xRKk3Jh6vNGof72dATOshN+14u6NEXxwBwR S0ydAMuRo5ckZklHrNeBf0qgslv5AlMLkDI3j9nZtoE54SlkALNHjngQURyllOF73Zcv ci9g== X-Gm-Message-State: AOAM531aZsxjlfThEWXT222NtU+NMIM9NJ9H8E3reVYDbBKPdplEJhzu b5ypUcw2AjCOfejJlON1qkCyCw== X-Received: by 2002:a5d:69c5:: with SMTP id s5mr11229093wrw.197.1595004961514; Fri, 17 Jul 2020 09:56:01 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id k4sm14941516wrp.86.2020.07.17.09.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 09:56:01 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Lee Jones , J Keerthy , Mikko Ylinen , Amit Kucheria Subject: [PATCH 03/30] iio: adc: twl4030-madc: Fix misnamed struct attribute Date: Fri, 17 Jul 2020 17:55:11 +0100 Message-Id: <20200717165538.3275050-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200717165538.3275050-1-lee.jones@linaro.org> References: <20200717165538.3275050-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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; -- 2.25.1