Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2312838ybi; Thu, 4 Jul 2019 08:39:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjp50TGF572NDXGpXdS0/BP96iegnYnfjv0YPgnzUyTBAbpwutN+oAiq6WLj8rlXtzzTq0 X-Received: by 2002:a63:c03:: with SMTP id b3mr45028445pgl.68.1562254765002; Thu, 04 Jul 2019 08:39:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562254764; cv=none; d=google.com; s=arc-20160816; b=FS64OnUbIY3rS3bY8vmMn4eIZe8Li4wxznfiIYbaU0Ng60obkU8p9twkb2seTC6coT 2wS7dUyh2TNPpgznDESV/Mmi4xBZpLWUcWlSCF+sqPxKJspnsypIXHTVTwUWQRguXG+t 5ab8WrQa7gU9r0XaKyoC4nD+jnEUXZtTI9fSEU+zspqSB6e07+73RDMtEh3DDL36WYZU 57y3mWzc5MART92iBxtXu1y2742jODEEsw2vEAfXSidV9QsSsegh/zF9p6JBZ2MqKGa4 XPtJivm7WGEv64rtJSeI9Tj1vmh+M6crAQTYMHmgrCCQr6LCCXiDEslkevYwZy51tUBc 5fQA== 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; bh=fMBkLq97kdQ/KNdC739pb6d+Ppi0Xs3sxMb93akiFhs=; b=O1bumf7xJwdrWn69hcor9IQkDKvdtl+C2UnQ9XjfVDUI3ipO9O1bU6dqpIjWgWZdVA ROq7eFjA9m1lSQYvh4liHVDCyl2wbMM15ECNalWDTvPzm1S31pIp/aYORLh3PAfHqCSJ /ZEMUB2hZhgLHWmc41dxPnAHjnmJg1wcO5mLY2WZmZlF487jofuWCRHjun4lGkp4nAxf OrE17+pT+0W0DON4Me41OcIXSyVCbgjOFwOydK+cjY0jjzUC2BSkW/QppK891+N+Y8WR i0Zv2rE7PYa8n4EsYc1ycRn7rOImSkEiQ3pWooPx653sbxNzZikYjGk+JGtoUJDSEhUP Vgzg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f32si5226713pje.70.2019.07.04.08.39.10; Thu, 04 Jul 2019 08:39:24 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727960AbfGDPic (ORCPT + 99 others); Thu, 4 Jul 2019 11:38:32 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:59371 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727892AbfGDPiP (ORCPT ); Thu, 4 Jul 2019 11:38:15 -0400 Received: from localhost ([127.0.0.1] helo=flow.W.breakpoint.cc) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1hj3oH-0004wg-97; Thu, 04 Jul 2019 17:38:09 +0200 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, Peter Zijlstra , Sebastian Andrzej Siewior , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH 7/7] gpiolib: Use spinlock_t instead of struct spinlock Date: Thu, 4 Jul 2019 17:38:03 +0200 Message-Id: <20190704153803.12739-8-bigeasy@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190704153803.12739-1-bigeasy@linutronix.de> References: <20190704153803.12739-1-bigeasy@linutronix.de> 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 For spinlocks the type spinlock_t should be used instead of "struct spinlock". Use spinlock_t for spinlock's definition. Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- drivers/gpio/gpiolib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index 7a65dad43932c..7c52c2442173e 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -210,7 +210,7 @@ int gpiod_set_array_value_complex(bool raw, bool can_sleep, struct gpio_array *array_info, unsigned long *value_bitmap); -extern struct spinlock gpio_lock; +extern spinlock_t gpio_lock; extern struct list_head gpio_devices; struct gpio_desc { -- 2.20.1