From patchwork Wed Aug 29 14:56:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 145436 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp774708ljw; Wed, 29 Aug 2018 07:58:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbkVH4mpWYauBIOLcu1UIL6DPM4b2+BEqcq738I6u/utM2PiVX2/snb+fvPOWHCdTx685cM X-Received: by 2002:a65:4384:: with SMTP id m4-v6mr6025478pgp.265.1535554703875; Wed, 29 Aug 2018 07:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535554703; cv=none; d=google.com; s=arc-20160816; b=xhYkLi24LcwhZYzGV9BbF97GiXVJesjiU7wuf6TbyQ9pChJYM/JUgO8woj5fQzYgeb QNYXn4xSQ3xtEgPZQrtkOYUb0Cw74V/uj8p9Yux8SQz/FSWoqILbQVvSwoB4BZewt5gy pjqbtGQeGoFo6GMbJNAl73T6OJgD8HyD9v66h6OmOslsEWytzY9Ftvpk8uuFOUYgO6VP fdTXR2PtVSrEPlydL3rlj61rA2F/Ki4oz81Kc1r1y3xFnL/98a1skUoZ8wLF2nWZOpJM Rh0oN4WT8s0mT8I9s3rTNKvULthfFTib4NSvHFDfiPngVIWlw3cEK5++ecPY/4Rhyt7N 9LNw== 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:arc-authentication-results; bh=t45RwyHxgiVO/bmP6d7iLPCutaJZeFdfkGYnHVqZFBU=; b=u3UbF9PYKuGvBzOtqN3kPR6vhC/zNtRnk9ZGPuzCFQVQjUt4IbJBJIp2E4lOziA8jS 9Tx0RmbaStz/k+gJOXAok2Fny9VUCh+LxL0qLQh7RQtnvR7gLEzjSx6beWcVpjjMsXAE z/YnGLAXipcZc0GdZG46jQ68sQ2goqbee8mRL+kP1lOSKJHD9QajTTxGqbyU/BhXVDkB pOnrwJSDyQ2r0i+sw9St7QbaS4K6lMZkpGZdZbKXRLdhUpVvUYWHKwQRsJ+semH7bRZ0 8OAgRV/yw73pJeFjfSIqIhrIDWNPRSq1WwP30VQL9mhqG6kfAA9QaS6ZkR2AS2zhX0vV 6Qtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GrddWR6g; 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 68-v6si3964132pff.55.2018.08.29.07.58.23; Wed, 29 Aug 2018 07:58:23 -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=GrddWR6g; 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 S1727859AbeH2Szm (ORCPT + 5 others); Wed, 29 Aug 2018 14:55:42 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:35474 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727537AbeH2Szm (ORCPT ); Wed, 29 Aug 2018 14:55:42 -0400 Received: by mail-lf1-f67.google.com with SMTP id q13-v6so4568175lfc.2 for ; Wed, 29 Aug 2018 07:58:21 -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=t45RwyHxgiVO/bmP6d7iLPCutaJZeFdfkGYnHVqZFBU=; b=GrddWR6goUx4n61qxnbCR8cGhd40I9KVD9qX06Ff7TrHR/IcL43h2ioMUxZfEOp5/g zZ8TljgpZHSLLw1WuHzTR5oyY3z8MSJscKUCLDhe//hijyvvPPm7XS7anHF7dTFhnu8A o3D0hR1TG10tEnFGdIpb2tWhCce2+rkceCPGk= 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=t45RwyHxgiVO/bmP6d7iLPCutaJZeFdfkGYnHVqZFBU=; b=ahckSgKKBl++1V/82+KOB5KdiAGrEDuppkjjdS+HfHnKFpqnRwNoKtDBeVFrjuwFoA wVfXcjou32k/e2V/EG/wLgOz5yxzUYwUVQ6CfnZFqeC2LAsUvty6cbcqVlyArHXME3xC N5lBZ1nVmMWSFgJJs3a2fqpmV6QpenYNXYRV/WyD5B6WjJcYs9yocCthKI+OjHHrSP2g TeMWIK52vQAyX3ykvYD/oX/VRFGspTHehWR8L1bqexCiv6q+XkrSk5sx4zU4682nOm/v rnKEcwRShACaoJ3jN3DIKak9JYxP2MwEDOaO50TFoa/hmNZKiuVGFXwXN7WZ7calAfue e6pg== X-Gm-Message-State: APzg51AGs0LrpFeWA+NZCrC8lfemoGkz6duVpBOMdOXO9zai1BYYwzBp 1ZX2Pv6DDaUsYYLNVgPX/a8oIm3g9mOVdQ== X-Received: by 2002:a19:6619:: with SMTP id a25-v6mr4841251lfc.62.1535554700487; Wed, 29 Aug 2018 07:58:20 -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 y17-v6sm756344ljd.42.2018.08.29.07.58.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 07:58:19 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , "Andrew F . Davis" , Keerthy Subject: [PATCH 1/2] gpio: tpx65xxx: Include the right header Date: Wed, 29 Aug 2018 16:56:16 +0200 Message-Id: <20180829145616.9314-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 These are drivers so include only . Cc: Andrew F. Davis Cc: Keerthy Signed-off-by: Linus Walleij --- drivers/gpio/gpio-tps65086.c | 2 +- drivers/gpio/gpio-tps6586x.c | 2 +- drivers/gpio/gpio-tps65910.c | 2 +- drivers/gpio/gpio-tps65912.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) -- 2.17.1 Acked-by: Andrew F. Davis Reviewed-by: Keerthy diff --git a/drivers/gpio/gpio-tps65086.c b/drivers/gpio/gpio-tps65086.c index b23c4d2429be..47a8b209183c 100644 --- a/drivers/gpio/gpio-tps65086.c +++ b/drivers/gpio/gpio-tps65086.c @@ -14,7 +14,7 @@ * Based on the TPS65912 driver */ -#include +#include #include #include diff --git a/drivers/gpio/gpio-tps6586x.c b/drivers/gpio/gpio-tps6586x.c index 042b9a20781a..f7404a6de55a 100644 --- a/drivers/gpio/gpio-tps6586x.c +++ b/drivers/gpio/gpio-tps6586x.c @@ -22,7 +22,7 @@ */ #include -#include +#include #include #include #include diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c index e63d7dabf78b..55c745b53d0f 100644 --- a/drivers/gpio/gpio-tps65910.c +++ b/drivers/gpio/gpio-tps65910.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c index abc0798ef843..aac78d18437d 100644 --- a/drivers/gpio/gpio-tps65912.c +++ b/drivers/gpio/gpio-tps65912.c @@ -17,7 +17,7 @@ * Margarita Olaya Cabrera */ -#include +#include #include #include From patchwork Wed Aug 29 14:58:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 145437 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp777008ljw; Wed, 29 Aug 2018 08:00:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ3+C8gfA75vdEihap6QdNvzQEiSQTo+x9ZekmkOm9d1PLdJ/QH8fF1V1BI9Wqmgt2tBtCr X-Received: by 2002:a63:1823:: with SMTP id y35-v6mr6124129pgl.438.1535554835345; Wed, 29 Aug 2018 08:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535554835; cv=none; d=google.com; s=arc-20160816; b=ik1aBlEstv1UdCASf/KZn8JuO5agMLEafqj9PEvI4GHnvhwcyR5OWrm0s08YOCiJrZ AnlXxy11035XceLDkDWQxQDzetuaoo27XSdDSpoODzmg9Vl058/NXkP7ftooUBZz/buw QH/eG+q5v/jPLdA6gC9x3jmgOMybnkXYDl7t14ZWF25hC/rWz+Xiarxbhg4zkWpqmhPs 3v6EahOllExYTEItHwfDjicV9tWB78R8WGvVT4U3Z7xgAZmbHpXJ/LwVI9bLROogE9eW zm2ntgjRMwC9AMQ1L2MNfOjQ38usEg5sRO0XBmcupxvRVObQ0n1Px33asgSlbelpexhJ /icQ== 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:arc-authentication-results; bh=HSVoMB8dJCu0F9ln1pvq7n3CHjMlmX6kiOMp1RdZ0uI=; b=LGSxTka/w7RZ9ceS/zhHmMj8x4RZoiKOuHvibTU8X7VNmn2U0paGucpOw1ZXSlrvY5 AxtKl8kEmPmGtME/0JyxZXH1H+x2TLxlQ3ylgzSGsxVfYA7YUamDLLOCazcy1D4DZ4fY rGR6/IEanioQaf5bU3PG8QthEOdcl+tlAsHrdcUyeoaxc1oe2q8gCe90eOPS8T05ptoM evqQ5I7BJ2SX16zaMsx289sSoBtH2pLm4W2zKU361hVdSFuDNYlYJ2KQKqSQlHDzAt6e 4QzMZn6OcXH9BvPiqwGlDJbaj7PwCsU31vmcd6KXu1Nh8O1OwA8Qnin4R5rkAswLvkPJ yEZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F4d646vn; 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 r205-v6si978284pgr.634.2018.08.29.08.00.35; Wed, 29 Aug 2018 08:00: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=F4d646vn; 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 S1728764AbeH2S5y (ORCPT + 5 others); Wed, 29 Aug 2018 14:57:54 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:46739 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727537AbeH2S5y (ORCPT ); Wed, 29 Aug 2018 14:57:54 -0400 Received: by mail-lj1-f193.google.com with SMTP id 203-v6so4606454ljj.13 for ; Wed, 29 Aug 2018 08:00: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; bh=HSVoMB8dJCu0F9ln1pvq7n3CHjMlmX6kiOMp1RdZ0uI=; b=F4d646vngJgmYYe+ni0PUopVDy+YvKINOJkVFy8Jmh2X+sZM7KA5w0DZby0qrym2+f bKlQFDp+bwu6EJdqZx4r2VWkmfVksTbEALA0EvcUoj24tlBtWi6AF8AaeYIdTNuxRz1i HG4Onuxp/QAXolGe6mChmTDegp8NhraBb3x6I= 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=HSVoMB8dJCu0F9ln1pvq7n3CHjMlmX6kiOMp1RdZ0uI=; b=BNxhdVwHnvWrKjCI5p1s5sNK90UF6Z36xin/EzZuWppNL8hYP5lUZiALQG8HELsTWX 3iAktz4xkx6jkEPvjPkW1Ixfce+MvfzgmRV2sj0KB1QQy3C3s377rLW3i4BgFlGPfBZM SJqoWQxnhgMGRF8uMziFi4CjwUKQ5MHuLVgY0FNap2AM5dusfCMem9VwdEEYJqYTdA2C OY7WJPgBvpqCixGZcblyZO+gd1D/iKA4jynYH8+JPO4sm+t0GZ0T3L/ZhZyk2rOhS7lO CXHKbHpv/llVQqvulEZALD6Lm17PO1gWJ66ZMtpY2oPo7SPONCNDk6xm+0dbzUFB0vmE Mwvw== X-Gm-Message-State: APzg51CEPBHW2lYcmSOs7Thn8tpKmaOgAu6f1ZeKBMmQI91RLvYru4jl UZQtZ9Uw4SUHwzNlBBkptkk+uwQHv1WWFA== X-Received: by 2002:a2e:6e04:: with SMTP id j4-v6mr4731681ljc.61.1535554832017; Wed, 29 Aug 2018 08:00: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 q23-v6sm751142lfj.80.2018.08.29.08.00.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 08:00:30 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , "Andrew F . Davis" , Keerthy Subject: [PATCH 2/2] gpio: tps65xxx: Use SPDX license tag Date: Wed, 29 Aug 2018 16:58:27 +0200 Message-Id: <20180829145827.9852-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 I'm tired of boilerplate, use the SPDX tag. Cc: Andrew F. Davis Cc: Keerthy Signed-off-by: Linus Walleij --- drivers/gpio/gpio-tps65086.c | 10 +--------- drivers/gpio/gpio-tps6586x.c | 13 +------------ drivers/gpio/gpio-tps65910.c | 7 +------ drivers/gpio/gpio-tps65912.c | 10 +--------- 4 files changed, 4 insertions(+), 36 deletions(-) -- 2.17.1 Acked-by: Andrew F. Davis Reviewed-by: Keerthy diff --git a/drivers/gpio/gpio-tps65086.c b/drivers/gpio/gpio-tps65086.c index 47a8b209183c..2eea98ff4ea3 100644 --- a/drivers/gpio/gpio-tps65086.c +++ b/drivers/gpio/gpio-tps65086.c @@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ * Andrew F. Davis * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed "as is" WITHOUT ANY WARRANTY of any - * kind, whether expressed or implied; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License version 2 for more details. - * * Based on the TPS65912 driver */ diff --git a/drivers/gpio/gpio-tps6586x.c b/drivers/gpio/gpio-tps6586x.c index f7404a6de55a..9b6cc74f47c8 100644 --- a/drivers/gpio/gpio-tps6586x.c +++ b/drivers/gpio/gpio-tps6586x.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * TI TPS6586x GPIO driver * @@ -7,18 +8,6 @@ * Based on tps6586x.c * Copyright (c) 2010 CompuLab Ltd. * Mike Rapoport - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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, see . */ #include diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c index 55c745b53d0f..0c785b0fd161 100644 --- a/drivers/gpio/gpio-tps65910.c +++ b/drivers/gpio/gpio-tps65910.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * TI TPS6591x GPIO driver * @@ -5,12 +6,6 @@ * * Author: Graeme Gregory * Author: Jorge Eduardo Candelaria - * - * 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 diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c index aac78d18437d..140b8786b545 100644 --- a/drivers/gpio/gpio-tps65912.c +++ b/drivers/gpio/gpio-tps65912.c @@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * GPIO driver for TI TPS65912x PMICs * * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/ * Andrew F. Davis * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed "as is" WITHOUT ANY WARRANTY of any - * kind, whether expressed or implied; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License version 2 for more details. - * * Based on the Arizona GPIO driver and the previous TPS65912 driver by * Margarita Olaya Cabrera */