Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3243036imu; Sat, 24 Nov 2018 00:55:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/VmMhWf+fQAar14aRcl0vp8H4mqFE+FwoB81jYDXFqSWIg6IADYCw8FMwUbysoYDwOeAJSg X-Received: by 2002:a17:902:76ca:: with SMTP id j10mr18574617plt.144.1543049731147; Sat, 24 Nov 2018 00:55:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543049731; cv=none; d=google.com; s=arc-20160816; b=WJDIyMA8To+5m6RYV0z71NEoH4CDMEmTOJ+wq0hVUT3u41A7rticyAGlDExazWqp+2 3k2sC/LGfjdC8a4sLeqSgc2gKQFT1QXmNSEAhw8Cype4nanNU6GtpVDG2TbYe6XUB2OE 24eTqjMFjRPV4Zpss+hUA7e6Dtap8O4k5iUlbM/qSLyVJZgJGj6XS/labMZzcv45rD42 n3F4hnnIvRZDaGazxyLld2eqYmf8KD+v6vWq36YPFYuUiP6hZ8Menz9zGW35cUhG9HN1 1DiHTstF9JJ90ZBaH/VY3oAK0uOfgJnxDHqT4Yx+mUfA0sa0dYmOcyBfn/0aPODkubCM SC1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=07HrCrFZL57ZGZlRkcwu/SANaQ8hX/F5vvNeAxNUWcY=; b=PMRF7w4ZkUfaGIP0VuBYqZN1PERZQxGSv3ECUK8kyYaP3vd/eEfB2AMtzIZJL0jXyX jdRGoWMHHuuVVvE9T1481vBTlcIHfSlsvw3bih5ffpR6Iehib3jlfN7xrFl0a1yKI9yS Y57g9ntKgwDz2Zz55G2i5NNI+caQBhZQZAKLcwW8drqLFapoDFqXfyqnI+Ak1vsplJEt mrihcTTF1BgMG0YqP5RYvMVCgsFO6NozbFu/JiWBVE+cU/zbPF8sEQrZhP/jo5Cp5RN3 /4rLlzXXDm8lPwtVLNmHXWJo0C5T7hyNC43299xdnUp/WAvSB3Jww5j10Y7weMv6UFoY KJ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=E3F06BDc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usp.br Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 127-v6si61274838pfg.268.2018.11.24.00.55.17; Sat, 24 Nov 2018 00:55:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=E3F06BDc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=usp.br Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728409AbeKXLKN (ORCPT + 99 others); Sat, 24 Nov 2018 06:10:13 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:37371 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728384AbeKXLKM (ORCPT ); Sat, 24 Nov 2018 06:10:12 -0500 Received: by mail-qk1-f193.google.com with SMTP id 131so9328223qkd.4 for ; Fri, 23 Nov 2018 16:23:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=07HrCrFZL57ZGZlRkcwu/SANaQ8hX/F5vvNeAxNUWcY=; b=E3F06BDcpX0tUcZvT0Jo7RVs1E5GIE0VOaYvWYEOin37vDa9EWyzNtT50IbjDu3Zrk bPlXPC+Nr9wqHn2SMDw6r0rxcdhxZ88RMzBkrryevFlFAokbPyygTRtjjgueKZiI3xb/ p/8tQtwBlbdzyAXLkDD5klTVJsYYS+LxtDBsMHHLUh7d38bmspyFxpNA8eck0cicyuCi nOjX7yUvtDgtX151c7mr0GEN652XEhWiyHOER9Ill8LtY70YikaOwvszKP8l3VaZQ9Zq nuJAZAScydVuHMaFQ+/KEyzgv5zfevYI1FT8o9VZBvG6Kql62EC3pXSVi9YebzsoEhKo 7Vmg== 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; bh=07HrCrFZL57ZGZlRkcwu/SANaQ8hX/F5vvNeAxNUWcY=; b=LfY+QFAeSHQuBsP8uj9IDas13IDaNC4/wflsAPEA9n4nPRZhW0IbcCs78E3txnfb0a LERNJRJlhHoGwAId9Z6zzvJYpF4g6MtYFy7ac214qCmVyrOzpIEeZVNj2hkhpHJbW3x0 WRYaXOac+1A2Wm4jm20D92ScPAh+KKS8RoxPj0tBAplPM1XGDs4m5lqU31XxFWtchQv/ Qc8w7Ae5PR1c2hOPlzVWXkXkObYBbp1yFRb6I3reklCWU7m6yhT7+VI4l6ow3xrBrAxd ycoPMWfXWiaJKiLq4AXRUMts3qwHeaVlo+LcGqwgj20XoxUKLnw0ye0g1o/CHbfoEH3U DkwQ== X-Gm-Message-State: AA+aEWYsULbM+1avLBp89MNY6ZBpTZldf+/f6m7oSXwy9p0CHjaXujK1 EjHGv0lbS308uImh1BaPAX4AIQ== X-Received: by 2002:a37:9745:: with SMTP id z66mr16219119qkd.170.1543019030566; Fri, 23 Nov 2018 16:23:50 -0800 (PST) Received: from mango.spo.virtua.com.br ([2804:14c:81:942d::3]) by smtp.gmail.com with ESMTPSA id o34sm26707515qte.4.2018.11.23.16.23.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 16:23:50 -0800 (PST) From: Matheus Tavares To: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , Rob Herring , Mark Rutland Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandru Ardelean , kernel-usp@googlegroups.com, victorcolombo@gmail.com Subject: [PATCH v3 6/7] staging:iio:ad2s90: Add comment to device state mutex Date: Fri, 23 Nov 2018 22:23:11 -0200 Message-Id: <20181124002312.6923-7-matheus.bernardino@usp.br> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181124002312.6923-1-matheus.bernardino@usp.br> References: <20181124002312.6923-1-matheus.bernardino@usp.br> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Victor Colombo Fix the checkpatch.pl issue: "CHECK: struct mutex definition without comment". Signed-off-by: Victor Colombo Signed-off-by: Matheus Tavares --- Changes in v3: - none Changes in v2: - Patch added in v2 drivers/staging/iio/resolver/ad2s90.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/resolver/ad2s90.c b/drivers/staging/iio/resolver/ad2s90.c index 678351dabe6b..a41f5cb10da5 100644 --- a/drivers/staging/iio/resolver/ad2s90.c +++ b/drivers/staging/iio/resolver/ad2s90.c @@ -22,7 +22,7 @@ #define AD2S90_MAX_SPI_FREQ_HZ 830000 struct ad2s90_state { - struct mutex lock; + struct mutex lock; /* lock to protect rx buffer */ struct spi_device *sdev; u8 rx[2] ____cacheline_aligned; }; -- 2.18.0