From patchwork Mon Sep 3 08:15:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 145750 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2214098ljw; Mon, 3 Sep 2018 01:22:43 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbprsiQK6MFOC23YqELH4W9qn5+05/rQ8+vvzbw88gAUBHB4baXoBiuo4InIj4vjYB1mneS X-Received: by 2002:a17:902:9883:: with SMTP id s3-v6mr27308685plp.194.1535962963404; Mon, 03 Sep 2018 01:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535962963; cv=none; d=google.com; s=arc-20160816; b=qjcr+N3ROXO09G6GJozSd9/HelhLr9BXILXQ8N/fzPLKIS7IPKWXEA/fbb6542u1/K 6S6gxLXHbrpwOrpn5Touq35zw41tlQjVjFQIFF7kJ6HnC2uC4qiVSq8UZnXWKSM/3rc0 R1E8can4npTj4v1VAaNes2EBtTGFcLMCcwvfJp8uUapPQ8pcOY0mBVriGeC8uwrV/t7h WenA75LPCDM20PV61cCOzA7kUtXl+BA8EJi16AMNPyHEB02xwfQ2oaBxShM+bTsnwVEg IP0ukFRWMZtnw0Hrxj8ab/4TY8I64KDva2Nt29+IwYjPCvpTjN7o7Tx/YYXmh0OQBuiY 6r9g== 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=G/EXgWaNZjdEAywgIvVrYuNGaTaYllDgrPSXA7VlEPE=; b=Dz6QEdZgo0E8pnghUuLtIPSxQQ1/ryEoqHpDaTM3unQdFtnq4139aNirnLmz4Xjf71 N2uJebvhus2oeL0Gy2VTJcX1p+28Wu3nUUUeUf8azZAPDkRzQ2rJffUUgRECMBsKxi1K NlFZSWrLuS8/UUVSdA+bmaGkpL3MEr84e9bhDQjPP9eh6xhkKz/MfA6vI6fFx5psIbJu u6rDP3YX6t7LA+ZNAofgR01o4BsVIMu20TLrc0+Nup2cJwPQlqSMr1wnZXvRH81JmFBp yTWyA7D9sbYa4M+EywyTt1NTTm7HNtOeYKFEvYGw2WIWOMqC3ZdxnKMS5z1T7UbUxTFn qPnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bTqEV5Im; 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.43; Mon, 03 Sep 2018 01:22:43 -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=bTqEV5Im; 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 S1726022AbeICMlp (ORCPT + 5 others); Mon, 3 Sep 2018 08:41:45 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36435 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbeICMlp (ORCPT ); Mon, 3 Sep 2018 08:41:45 -0400 Received: by mail-lj1-f194.google.com with SMTP id v26-v6so14640289ljj.3 for ; Mon, 03 Sep 2018 01:22:41 -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=G/EXgWaNZjdEAywgIvVrYuNGaTaYllDgrPSXA7VlEPE=; b=bTqEV5ImYxyFn/Qi5DAdA01PmHFjnhTm42JXe6DJm1tBQ9926SK46jY0X5bxSSyDkg vCVzBXWgwxNTYSpkvti8yUkjZkJyfwCsHQ4zFC8lToPTgoIU3ZAF2FUVvj+t44fm30We O12KNifVCkcZ1DwYcKVZ0CvPZ5QnpJU7Sh8qk= 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=G/EXgWaNZjdEAywgIvVrYuNGaTaYllDgrPSXA7VlEPE=; b=tS8BH7phgmM7P9VuJI60OKaxV5ffmzYQCMBd1K00Qi7prT5qdTRBhOs46+dUmevWtU OCHk/e3j6HFzHeBNrbco24tMHwjjnPRT57wzQyfwr12qtmH0j98fjwiLtLhLdbzdM032 0YzhKWrtCKnsp3pX7U91g7nr3BKsqMpNmQ99W4PDTCeWEmX4cIpSqjLsdvnuVh9WTIBX VGO6gXw2SjQx2tN0LK863JSW0TsEKs6IZWr/z0y2papEq5u8eAenw2O+KDUaK55LieO0 qYGyOgPyQEASCsf25H53ylqfTU0PvlvCGt5PAGrzVYtnD9k6LStxXH5loMZVbgaVxXD2 9CTQ== X-Gm-Message-State: APzg51B5lVLl7V0MSzP9JCPmUj28qAVcLQWvpYILKZ281k10HWLyI2jm tNcfE5lez6GaXcm338IuDK8iegUNLFVTVw== X-Received: by 2002:a2e:92c4:: with SMTP id k4-v6mr17618237ljh.18.1535962960484; Mon, 03 Sep 2018 01:22:40 -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.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 01:22:39 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Tony Lindgren Subject: [PATCH 5/7] gpio: twl6040: Cut down boilerplate Date: Mon, 3 Sep 2018 10:15:54 +0200 Message-Id: <20180903081556.1411-5-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-twl6040.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c index 095b20fd0315..c0c18c80abbd 100644 --- a/drivers/gpio/gpio-twl6040.c +++ b/drivers/gpio/gpio-twl6040.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Access to GPOs on TWL6040 chip * @@ -6,20 +7,6 @@ * Authors: * Sergio Aguirre * Peter Ujfalusi - * - * 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