From patchwork Wed Sep 12 11:32:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146551 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4708452ljw; Wed, 12 Sep 2018 04:32:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaohJ0G568OAP8A3aHWBUk0y/TTl/mTg2QwExSRIxsuEAHTQHC/8NMVFP+b9rgp4h/HAgjQ X-Received: by 2002:aa7:8118:: with SMTP id b24-v6mr1820589pfi.78.1536751939418; Wed, 12 Sep 2018 04:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536751939; cv=none; d=google.com; s=arc-20160816; b=SwwngX8WAPftMWFS7FvhHmPnzXvALW+/L6jmVJOuFRbba64pvDIZlObgDGP/7IltAL TceUzKQWWUmwTY+mcJBfTSCH48yEaBjWLQPstcZxbuMRoU8rZynZY0zMWc/ziJ10Svay iZ9RrdCABi2PUEWE9oRRb1NpNMhKmOQ94t+3xwligbR4rXe2NxaDm8YKQtxdfZJVRN4/ ENXqTq7YhrTIGGrawdJKWPm4ZeuYGu7aR7gCG57Xz4VH4nO/FdLPuVRb1MqtbTmnCiZg vA2O8t/+zS20jEDkx4dxgER0bB1frJhBfXkM9WR2hiQ5lWXVgtQt3UzYkoy1hcNtpmPT QPpQ== 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=pR42x8AIhEMBTbExVmiy65uEYfsTpfnjsPzSIQbJS0M=; b=zaRMyg+DJf2vZP1sDg1kYnrLg8nDtwVHQn8ImPsENx7dX7EcHSrhz2xe8aqG2S7p02 8v0mYc1/JuJ9W534pRrg8H5Xwfu2DjSrqOtusRs5xXmyV/vKr4TTAG8YUF7AyG+tQ3Ja Adm+EBx/8n1l2HWN9IkYK8lK4nrpdR1cZrqwcFKLnPv4kAj7gSjkUZQOmp0vs5UoREPp /cxuPuoIk17qj36G+Q2UTAl+EBIIoRZsw4iGyMwJcwbpILSco9gH5nXPTzyQVCEPyQKp 16lxeRUgZPJAgKgnaYZBr1+n2C3tI8hvf5WmAD11UULA9g4PQTxhmS0AZqls463acy8P T71g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aUBvBHoa; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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. [209.132.180.67]) by mx.google.com with ESMTP id x69-v6si744059pfe.318.2018.09.12.04.32.19; Wed, 12 Sep 2018 04:32:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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=@linaro.org header.s=google header.b=aUBvBHoa; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 S1726642AbeILQgZ (ORCPT + 5 others); Wed, 12 Sep 2018 12:36:25 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:42431 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbeILQgZ (ORCPT ); Wed, 12 Sep 2018 12:36:25 -0400 Received: by mail-lj1-f196.google.com with SMTP id f1-v6so1294007ljc.9 for ; Wed, 12 Sep 2018 04:32:17 -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; bh=pR42x8AIhEMBTbExVmiy65uEYfsTpfnjsPzSIQbJS0M=; b=aUBvBHoaolIh1TD5koccfrqnsFV8wVEAjGPi8FDwIyBMMzXR78S2s26Ct2FFiBIbX7 ahfECwIhJD7QjS6XNjbm+ycssVYpq0XG6Zn0gzG3tuotjvwRAtlFKJT2bgxijWE6O7rH +Mfo61HFCzYRSKpExaes4OBpabZukJBeUnRCU= 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=pR42x8AIhEMBTbExVmiy65uEYfsTpfnjsPzSIQbJS0M=; b=XaeC5BhsVtStGEVwwQUBxeFt6bkwus1bywoINiCO0eMajADnEYWgelFV/0Zdju2Skp PqDMhnBoYDd24tSUO6MmxQDRXxU7u9gRNNad2Q4A2Vku9GA98qZw2hYHRPsqs5DfrTy4 voVL/FxhcdPkdxUbnvZTcgNpg02cIjQbnTb8VzHI+RBSe9herSoHKmUoBQXy+8MdFAC6 xoQquu12wy7eIRMqiDgjftcxX3x9n+06mell6Jchjw8NnxcfrjGq6FKe1BtMq8GX8GOv 8S1rbrw2Fay2v12owb1DLJqT9wx1w6lDoVODYj667ClYoLL9ktBlGnzt8IuG/1Afv7ox IdBg== X-Gm-Message-State: APzg51BFwZza18KyjML1BIT9mTyGwzg0TMT00vtuNJHsg/Je9NjtpghD FjHQxdyKU7rx7ZF1d1yppzIDhvwWgZnDEA== X-Received: by 2002:a2e:7c12:: with SMTP id x18-v6mr1074072ljc.71.1536751936172; Wed, 12 Sep 2018 04:32:16 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q19-v6sm144182lje.29.2018.09.12.04.32.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 04:32:15 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: linux-mips@linux-mips.org, Linus Walleij , Yoichi Yuasa Subject: [PATCH 2/3] gpio: vr41xx: Cut down on boilerplate Date: Wed, 12 Sep 2018 13:32:03 +0200 Message-Id: <20180912113204.1064-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180912113204.1064-1-linus.walleij@linaro.org> References: <20180912113204.1064-1-linus.walleij@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This switches this file to use the SPDX license tag. Cc: Yoichi Yuasa Signed-off-by: Linus Walleij --- drivers/gpio/gpio-vr41xx.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-vr41xx.c b/drivers/gpio/gpio-vr41xx.c index 7ffb58b0d239..7d40104b8586 100644 --- a/drivers/gpio/gpio-vr41xx.c +++ b/drivers/gpio/gpio-vr41xx.c @@ -1,23 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for NEC VR4100 series General-purpose I/O Unit. * * Copyright (C) 2002 MontaVista Software Inc. * Author: Yoichi Yuasa * Copyright (C) 2003-2009 Yoichi Yuasa - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include