From patchwork Wed Sep 12 11:52:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146556 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4726737ljw; Wed, 12 Sep 2018 04:52:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbyamE5duJyvdrVv8la2mvgs2FXXNihySVaRJjFVWomdATsPQJdxA2IfqnJ0awNUzZkaKfI X-Received: by 2002:a65:5004:: with SMTP id f4-v6mr1864217pgo.54.1536753147448; Wed, 12 Sep 2018 04:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536753147; cv=none; d=google.com; s=arc-20160816; b=QnNCbaqscVPilGy1iO8QDl+5GTUQiSsNsjqcCgGOE5h1YAJLiTyaQXxw58r4qEVg16 1nKDDsjqQVAA65EwUVZ+D/fjyXZo19AXCjVojQmC3t+WshMqWawfYL6lk+DmUwjYPRsT b7HtJ5xJD1AC4dNWTOAWNtl4qP/5aMD7pwJNgPIkx8Z7jzwlsap1dqrsHHK9HfjmYx9X Sbhj3tVhkzOMgCaS89VtrcISxTCn1zrajzTo3/N0U+pot25zp0KNng6gH+7qa3Y/rYuH QKWTUchWEeY9pMg6xWvbRSSc20PFLoNCUfoQZe1lAw+ipsbYX9PaoQn+gEwZa1476rOk iJxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ZNQ0Gp5ozQuz/s08R7OI6GAaC880t8vasQ03zWbYirc=; b=OWUqz1wwFiR/4Dn23bVCX+xS0RoEObMZSVNr/ZnPHPN6irmC/ofVJbGb+aoSyrqRkO 2m9+XHvuUruPaQ93RZaXC7QtFGP8Mdkfe/A7OW66NNTjhPLLHERMnF1JfU+NQXKhpdu4 1SA2csIeGx2Ab8/CBf7MHp1Hsd+ZcKVXKk2ct6Y1qRw0WcTJ6ZGs5tqtinLMSY9bOAmQ /ss/yBFwBeekKQ0MrtCdoy5fLAxvI9OutHai7b/WPVBv9pVM3Pr3Ld+dI8vUoM/43PMt St5bCMWRkCDWOnQTbEVnkwKmggGkYgBPGSl9PVyaCUe2exSiehSGJb6g4HXGKWFKu2DQ BXaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VXXgQFoU; 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 l1-v6si778929plt.399.2018.09.12.04.52.27; Wed, 12 Sep 2018 04:52:27 -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=VXXgQFoU; 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 S1727051AbeILQ4h (ORCPT + 5 others); Wed, 12 Sep 2018 12:56:37 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:36387 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726082AbeILQ4h (ORCPT ); Wed, 12 Sep 2018 12:56:37 -0400 Received: by mail-lj1-f196.google.com with SMTP id v26-v6so1358371ljj.3 for ; Wed, 12 Sep 2018 04:52:25 -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; bh=ZNQ0Gp5ozQuz/s08R7OI6GAaC880t8vasQ03zWbYirc=; b=VXXgQFoUlZnQ8JjHuSxYXex01N+afC5V/t8hPF3VFaX+b6mTwb49HsxvEtkSprpkiF 5va22Ewd9A683YHOxnNEW8i1PyA18eNmRDpuz+PWGcjI6H6a6rNSntysQHiX+jlgyBjt aMkTR83ja7SiQvizTK3eA+4ZW5NWlKQuyIptE= 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; bh=ZNQ0Gp5ozQuz/s08R7OI6GAaC880t8vasQ03zWbYirc=; b=N2CO3NjMhrhZ74JIXoAm0du3a5yY3WWtuxOfiyNVoQ5QGGbjBMcgtLCTh7czVsxdDd zUaEZwnCw4QmJPl8PTtrnBBHpKzU5BM+1drO4yeJuHqB1IeqshM8cLLc8PAk25BjqcxW eVxJS1RT2iXA2y7ZAUU3GgrwaiJbhZ3vJArLSZ5z3YqyGBjfQdrPPq9tFeNPmPrGab0+ J4JA7TXhzuScg8zJL0JGkwxyd3wmebzM+hg2ed+Ab2dKz2lgPpKNCPP1O8X8vyr3+j+X i4j/PgNQKMGwcyoJBVfR+L5/rcqqp+TN8BmjRB475/qtCEDnswBJ92b+I/tIGr72iBDr myMg== X-Gm-Message-State: APzg51BhQV+rgNppdJbkePZQ0ZBZO85KS1oovzRiADzVfrJ9B2Q48ebC x1KVKDicDER3VLhT77dyd7rshmZNRKQi4A== X-Received: by 2002:a2e:9941:: with SMTP id r1-v6mr1125801ljj.53.1536753144347; Wed, 12 Sep 2018 04:52:24 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q19-v6sm152448lji.14.2018.09.12.04.52.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 04:52:23 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Lars Poeschel Subject: [PATCH 2/2] gpio: viperboard: Cut down on boilerplate Date: Wed, 12 Sep 2018 13:52:21 +0200 Message-Id: <20180912115221.5677-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Just use the SPDX header for the license. Cc: Lars Poeschel Signed-off-by: Linus Walleij --- drivers/gpio/gpio-viperboard.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-viperboard.c b/drivers/gpio/gpio-viperboard.c index 76c4aa0da5d4..9b604f13e302 100644 --- a/drivers/gpio/gpio-viperboard.c +++ b/drivers/gpio/gpio-viperboard.c @@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Nano River Technologies viperboard GPIO lib driver * * (C) 2012 by Lemonage GmbH * Author: Lars Poeschel * All rights reserved. - * - * 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. - * */ #include