From patchwork Mon Sep 3 08:15:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 145747 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2214028ljw; Mon, 3 Sep 2018 01:22:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYTAgf0OzilkUsB/ta6QVN0WCK9cVqWCvu8XlqIki33emNl+nYdM2ZyuYmTRT15XPSWS6vS X-Received: by 2002:a62:c406:: with SMTP id y6-v6mr28368613pff.161.1535962955898; Mon, 03 Sep 2018 01:22:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535962955; cv=none; d=google.com; s=arc-20160816; b=LngptvR2clJLDQfAIyLD64BjmBZpNKyPGVskyjDQq6/HkrZBLOzYwuJZy2wMN8/8dk IvpaD4SHRzxWYABLE/dxcIuTU/rnO+9Vm0KkxsL7iwvzEDs5jQX/qc2vygQ7QqwCUOry 32VLDtSseOfBy9OPczHNyEY62GU8mz1IgzyHyFUmOi2u4AjI/+VE6xpSsP+NLEXwiSM6 CwAHdnqSW9Tb8oRGfWkYr52rsxbzQplqYe1NdVsGw5nBNE8zYyyZyFnsiijF1EgaXDVZ 8SDO+TOBKcZvSKuePmtl2orK+aiR3tguKAN8ZWTgb63qaM9njAJRahyOE7Qyqgl0p+26 txYQ== 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:arc-authentication-results; bh=PH/DmlVTA2MiPVSaI9d3fP2bDm8/jU3HlUGgomwCPT4=; b=LhJogdOaLSWx4pfmTwH8Cu2g2VWwVsItL5eXthzTuixoM1fp0BITUkbiy0rs7bxL6t DDE74rM7Gr80lCgeY/dqVAX8xbm2lJzfFSqOsip3AaATduk6WGsLmzFBmpmCU1dUgCpW kr5HN0TEQ0N4SJTbSyHXO8JBa64LTZ7y2Lth/XCpHd2S/tVI6ueHSzqUOeqlIaBShomL dGIAvUWg4M1N2NdK6lttyJAL9azJIFX9UKO2SZWoxCiUu4nNEJ/HNjxqC8r3Pyw1Vez3 /RCs5TMs3AI7X9d7ei3S9zAOebQLCR7jICLFPu4xt4DuohWciT/GuejEOjp2YIrvtUUH M5jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WxY7AJFr; 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 x61-v6si18233629plb.216.2018.09.03.01.22.35; Mon, 03 Sep 2018 01:22:35 -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=WxY7AJFr; 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 S1725968AbeICMlh (ORCPT + 5 others); Mon, 3 Sep 2018 08:41:37 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:47054 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbeICMlh (ORCPT ); Mon, 3 Sep 2018 08:41:37 -0400 Received: by mail-lj1-f195.google.com with SMTP id 203-v6so14612721ljj.13 for ; Mon, 03 Sep 2018 01:22:33 -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=PH/DmlVTA2MiPVSaI9d3fP2bDm8/jU3HlUGgomwCPT4=; b=WxY7AJFrD/ZU0c2bO8Be4PxFhit0VLva86TmqHZP1wgMCEYEos7EmDHbSglIIGBuwW K8ldOci2wloFbQQHiYYmUGc22qIDWC0qz+84pvgCqGjuJMM0jItrbIVXIj+tZhHbOYBo jzbjvulcG394BpOmJFyytmxRdLGBQ+l8YxT2c= 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=PH/DmlVTA2MiPVSaI9d3fP2bDm8/jU3HlUGgomwCPT4=; b=bLR4l540XLLl8dAqcXiHn2ub18ES7goRlBKAoUnEpyRVttpLmV5PEv68qx+P0O8IKh jc7AEwWJyeQWRVMwQqb9HnGDFMY/b2RipQNYUU5XJy9T3Lh/Zn34wu8v1lCb95Nnhku8 u0uL1glknAJzp51xNYGsVkxG6k5gOFoVUYhmhMreRQyz1/yjO5+6NLJQHJcNwl7See1l jCKHZMr9zCMdsDcJszxRGMFTC/x4qHsI9JqxNEEpWEwObLr5XC1UAoG3rAeTMFGlpsWo Tau37MjZ9FUfbXv8GaiR3bcAKYXe3TL1fWzpJeZ0y7gyyRiDGVGZ6BsSQfB7QEL+1iMF nw0A== X-Gm-Message-State: APzg51CemZSVz65q4juJLSZSHF9tS75KvKCkwvBqKYfI0aD877lwN2/b u8AAiqpwh1SIHHh7V7EqAtYSYElEUJkdpg== X-Received: by 2002:a2e:9c0f:: with SMTP id s15-v6mr8770783lji.97.1535962952918; Mon, 03 Sep 2018 01:22:32 -0700 (PDT) Received: from localhost.localdomain (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id r70-v6sm3316035lff.0.2018.09.03.01.22.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 01:22:31 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Tony Lindgren Subject: [PATCH 2/7] gpio: twl4030: Cut down boilerplate Date: Mon, 3 Sep 2018 10:15:51 +0200 Message-Id: <20180903081556.1411-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180903081556.1411-1-linus.walleij@linaro.org> References: <20180903081556.1411-1-linus.walleij@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Use the SPDX header to indicate the license for this driver. Cc: Tony Lindgren Signed-off-by: Linus Walleij --- drivers/gpio/gpio-twl4030.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c index 50b17814bd91..1e47ddff33f6 100644 --- a/drivers/gpio/gpio-twl4030.c +++ b/drivers/gpio/gpio-twl4030.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Access to GPIOs on TWL4030/TPS659x0 chips * @@ -9,20 +10,6 @@ * * Initial Code: * Andy Lowe / Nishanth Menon - * - * 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