Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1243467imu; Sat, 17 Nov 2018 20:27:38 -0800 (PST) X-Google-Smtp-Source: AJdET5cP6ZV7EFUTKXWs0CxOUSKfvaEvPvVTJ9PzQRJgOVIRBKuVu73CtSEAt4u1vxngqSJUIZob X-Received: by 2002:a17:902:7587:: with SMTP id j7mr17384402pll.191.1542515258671; Sat, 17 Nov 2018 20:27:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542515258; cv=none; d=google.com; s=arc-20160816; b=kommMaRYhcHPMTOuh9EG4XhmV0UmBmMGEpykWuOXARgySBb4gqAckhkJt0eri6nWZr NTdtWZxfVS9CfpUSwptk8FvO23MGXL6aIlxdHOP9SDKV0LR6r5VpdVXU/Ti/vzFXYPcN z34pyoJzuB9SENhx9fUSP7Zehz+yUU6RduSfcUrbweSgT5ygcb7P0Tk1oKlrQOqRVsfH E9FhPIuA2oxWkBCEnUJDSYa+aUT6c9ZR/oeEfO+eAAe/+TDEyRCcYvHv/B9lzwJ/JLV7 OomUEkk1OZfLiwLR+cXgt1OWpRNTWHoM8boQw+kds9YkDYUBlZWuTWEmi0WAN2117vhb vC/g== 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=N7SE5k2/kjJlroE/hqa7PLw1ubwrNoiXTEWaxQ/jVx4=; b=oOOihdvVUQFAzois593Q6kQhyZxaZ/ghEw6WXD0n4efgyuyMxnVRjskbuCOuZvQ//u zzKMs9J+Hnc89DduLjLWgbXJ41OERtNUduUb6L4+zMnLEDrgQ6fiQEkMAx2MjBe3CO9n Xi8ylnTBpMamSjF7P+LVIUyqPl+00JlOfBRe76ORSGPzITBNKDd6t/4mF7f1/ablZhwr bnKqolBuxSR1MdaXWijIYzEhb7dADaU1oEfpOz76uh1+mzWSSaEytNWqFNCmlYgezJH+ vTx0WBOaf+lAz1WyTxMiFo5GCg4S4LgiylARNRAY4JBYPsZSjxPFP8v/kywQz2W6+nBD CX1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@usp-br.20150623.gappssmtp.com header.s=20150623 header.b=uvwj89TP; 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 b5-v6si35594644ple.64.2018.11.17.20.27.24; Sat, 17 Nov 2018 20:27:38 -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=uvwj89TP; 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 S1727173AbeKROph (ORCPT + 99 others); Sun, 18 Nov 2018 09:45:37 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:42582 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726978AbeKROpg (ORCPT ); Sun, 18 Nov 2018 09:45:36 -0500 Received: by mail-qk1-f194.google.com with SMTP id m5so43850422qka.9 for ; Sat, 17 Nov 2018 20:26:36 -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=N7SE5k2/kjJlroE/hqa7PLw1ubwrNoiXTEWaxQ/jVx4=; b=uvwj89TPt4Vz2zNB3MJepCQYIRyg9kyolqdmOzvUlLNywL9ktKvo21COnbvKmrtPac y+dXtAm08z43OgC7iKGu6trN1tget4IG73wg6fKgWcROj9vPtQfU8B6VzgOTzMfnmVgE I63RKZvY2rl99aMiuMDF8/Y0i3tNW8dgWVQWAvvgmNF+J+bf7ILb41CJPBLCGtvuetTm DVEwA865My0c22oMadQfaMLMsYjp/MJh1EUavlZCvkO1PgKLhOmSdDcLz4qOHOs6xcrm vriISTBoEQqbUfZtcqQkaUtyqg2/4ZMzj0Yi1ldKMHp0OHz+8Jl1zEGzqZre6JRR6WYL l7KA== 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=N7SE5k2/kjJlroE/hqa7PLw1ubwrNoiXTEWaxQ/jVx4=; b=b37pw5c9BaTaw9eZ+GiXfueKICZznot9vDYt+nsMBgDpKaCvJO+kjABGCrcPZu3AjH FvkWO6OqpvDMTnf10OgsTwUCjdGbSjIyfP3NOikKX0k7wSPqrBNzTG4jDTmB3nZVtSDH IjLd2GNwLWrPoJ5nhM4ulKLj2YyJJ2gecS7fx5GoR3MtYj9g/D9H6jLgissa6cbAQRby 10xgWUvdCPyvlhwy8DYJqQZFEth8IhBCFvX2YJQbq+5AwgG8h02Lf8b//P37IdCKIEgY 5MjXviaRZB2/V+dZkRwVjbzTZ6VLIQCZqBz0JgAJbFOlOM1VIC2eb0PrbC2Uw+aXS+YN oCiA== X-Gm-Message-State: AGRZ1gIuY4RDqp4jUjQDOQdNW9kXYrMwxXiHzMSmT24RWeVKvxx4QStk RXdLWvWapJXLOFOQyp3iEh41hg== X-Received: by 2002:a37:8882:: with SMTP id k124mr15806046qkd.1.1542515195685; Sat, 17 Nov 2018 20:26:35 -0800 (PST) Received: from mango.spo.virtua.com.br ([2804:14c:81:942d::1]) by smtp.gmail.com with ESMTPSA id b6sm16112350qtq.29.2018.11.17.20.26.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Nov 2018 20:26:35 -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 v2 6/7] staging:iio:ad2s90: Add comment to device state mutex Date: Sun, 18 Nov 2018 02:25:39 -0200 Message-Id: <20181118042540.12697-7-matheus.bernardino@usp.br> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181118042540.12697-1-matheus.bernardino@usp.br> References: <20181118042540.12697-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 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 9aa229ba47e7..f04dc5dede00 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