From patchwork Fri Jul 17 16:55:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11670775 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A300F6C1 for ; Fri, 17 Jul 2020 16:58:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 895DD20737 for ; Fri, 17 Jul 2020 16:58:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="C7HneBkE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726798AbgGQQ6D (ORCPT ); Fri, 17 Jul 2020 12:58:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726944AbgGQQ4D (ORCPT ); Fri, 17 Jul 2020 12:56:03 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8320C0619D2 for ; Fri, 17 Jul 2020 09:56:02 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id o11so11886720wrv.9 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=Jj0O7UZyUZJLvbjSKtu55PZETIMRVrBzTKD1FIL1jvjGcqFlv4TjUHp2/Op025gnBE pxTNL7eiVcN7UMjR99zB9ntGUqzrd+/XxfO3HgepyF+IeoEMnvrrVSYMXmZNu/JnLv5L FV842GKarZkm0NkwpNSWByr+rN5LMOzuIJo5HiCYbPHYGl9qNTmXKwloWKy/PxK1J7QA I3rm3YAbmJqO1ibwKZy/Q10sb33lGavicb0TPIrSqrzBWTZEFZW5vhgdZyGTgxK6C5Ur q/skeT5QL7DdNTfAmRrOOM7pOsKXoyCrXcHCFQBpX+8Ckk+aqj/Uffs2C2y+gprN8AZa 5NMg== X-Gm-Message-State: AOAM530RPvogeAHE/lLHPHbmiNKqfeAJ0VNOEz91MLLtOgAoHgZsi5iN logeYXLHJ2VK2QLiViIAi4ryww== X-Google-Smtp-Source: ABdhPJzK3GbkD2rzZrYM3yoqQYRKGWTe1avEC7a2sRHmTBdmjWCN1HXe7dJK1gVWJjCwVAE7KRFK0Q== 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 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@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;