From patchwork Wed Sep 12 12:17:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146557 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4754301ljw; Wed, 12 Sep 2018 05:17:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbNTb0CtGC7pWQISXdMHgOdLBPdi4fQTKi1huPZdTGO2z18+s7tqsZ29kG5t3kLulx7OQxR X-Received: by 2002:a63:e0e:: with SMTP id d14-v6mr243288pgl.38.1536754637074; Wed, 12 Sep 2018 05:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536754637; cv=none; d=google.com; s=arc-20160816; b=jFOjmx6uf94QZjLNvqdYCWhhLzIFLYSpstFDXiInEEt+NU3ZxNV54/5utZIPese1K8 Cnemc+j8093ThkrW+5SYSIxp08Bwlc3m61AUQ69cb+JTah0qRDzyAYZfRlqxvpK3czNd 5x5me7xujrQohqMwRtYBAhll/kIJvKBWue7fM90HjhCt/6e98CSa2Td+Uo0Ur1Zzos/R bG1nRjvNN8wAfotCl6RBCGz86toWMKT/yMvV422NIC5YESJsMVJSZWPSwm/9T1OWifbc bFa09+1cfbAPSqQVVr4v8r/uG7aJo3b7XH4jqTCG9ej31iWyZBNt01hhcV0U5XamW9JO gheQ== 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=Xh6NmTI1xFpyu0GUHj23vZLXcr7zhokqq5AAeSUnQ2c=; b=CJIiJiY0IkBSuqGQNtD5u29GIz5IXC1BV7te4HGM5NiYMcyEDeKKitzkFzNZ5dXOnx Uh3VVvAOyoenvrotGxTcG3R2KdP+zm7RqOtyHM0qKT+6HajmbrKXs6TNABjchCPbJwY7 il0vABq3Y4nB+GNtJzQdVCtsOAwohZCxbKPZRmyPXXX8KcnxBFdvzkcxC2GQ65NXzJLP mn0MotF4Akq1ZX4dqWTR6ulC9tmKcigU+7oST1z9ZgVwTOjufEwLrIpW3I6KX6XyNr33 LvVW4wXA31IvuRYjDU8e3Cmh1bwtkui5n+iGwSqvkj7xnZ89yYDjSDdwatFt25E2ZaVZ 2kaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HfsCSVLS; 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 22-v6si905480pfb.215.2018.09.12.05.17.16; Wed, 12 Sep 2018 05:17:17 -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=HfsCSVLS; 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 S1726606AbeILRVb (ORCPT + 5 others); Wed, 12 Sep 2018 13:21:31 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:43634 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbeILRVb (ORCPT ); Wed, 12 Sep 2018 13:21:31 -0400 Received: by mail-lf1-f68.google.com with SMTP id h64-v6so1469368lfi.10 for ; Wed, 12 Sep 2018 05:17:14 -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=Xh6NmTI1xFpyu0GUHj23vZLXcr7zhokqq5AAeSUnQ2c=; b=HfsCSVLSeGTtd3uy0NKyzRpbmxZ+vjI565bRXn6/5tMkPQyzSoaFNgzyA2eDUupzf7 DTmrkmc//DUIZd1OvUNmdAkwUhBT+dJ6ogGvrNOUcTw3WoI3CPmNsV1gkMdC+3jK0w9h d8OpSPvvHNCV2LPF/+pW37aM7cjdmiot2Q+tQ= 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=Xh6NmTI1xFpyu0GUHj23vZLXcr7zhokqq5AAeSUnQ2c=; b=mouCHJI8d/8ZZNT5FqI41H5ws0uixU/5papYMiSN3LiaschiROy+wV1GHLjAaogwyX QWhJD7U0f5DyCxg7UZD3VqCsRUbAMkMBMsOHQMR/MUn94qiq0Y9DJx/X/7R2zAPQ71XX Vvub4yaTqaacFEFz4mv4KkIOaRPH6Ht93axiQCMMwshk/HT825SM7tZpSUJiBncW3gvF Xx6W2sCbpUbTdgL/t0VaLbFb8H2rkiEAQ8B7wxcZHfKAB2qqg3RbOtIfRKEvUbvJY0UU 7j1I5ClKwF4SVBr/pFcOlxJ0P3znExige5mzRRmgt8h3Gj2kcLhfvXd7Mp5/e4ZUaUsX wBDg== X-Gm-Message-State: APzg51CP9uOhNskRZnNnT+PbgARyarIjt94vzqAWHHTOWrq7WPBvsI0q 1KeIM6aCA6OiiqKPzs7Bo79kilzxNBwy6w== X-Received: by 2002:a19:1517:: with SMTP id l23-v6mr1365228lfi.69.1536754633811; Wed, 12 Sep 2018 05:17:13 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id n17-v6sm152386ljb.82.2018.09.12.05.17.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 05:17:12 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Daniel Drake Subject: [PATCH 1/2] gpio: vx855: Include the right header Date: Wed, 12 Sep 2018 14:17:09 +0200 Message-Id: <20180912121709.9173-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 This is a GPIO driver so include only . Cc: Daniel Drake Signed-off-by: Linus Walleij --- drivers/gpio/gpio-vx855.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c index 98a6f1fcc561..d229640b5865 100644 --- a/drivers/gpio/gpio-vx855.c +++ b/drivers/gpio/gpio-vx855.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include From patchwork Wed Sep 12 12:17:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146558 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4754462ljw; Wed, 12 Sep 2018 05:17:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaV2gdqLNHRO8GbqG8DwM4J26SHITL8o8Ck4VW4TTQzsMspcSsKFtuOIbRIvI/GCUg557yq X-Received: by 2002:a62:f555:: with SMTP id n82-v6mr1990523pfh.59.1536754646311; Wed, 12 Sep 2018 05:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536754646; cv=none; d=google.com; s=arc-20160816; b=pLlemZG7RDAdtSGfx2teJ8kagZyPXEM/0C79u9AGz7scEGmBdvusQR+eNTwQiHEYUA Tlh9blrW88RIHJM3gA/koYPiEkS8+DGtQHrirDGrEB2iNwZKxuQUzHXNPikDEav7cWKP A6PoQvd+ttrN/RPtBQ/JzGTYXYsZ1ggNDvJnnzruA0JoM54gs5NxheP1ICPCeOzxyfyS cw6kH5/0Ru89RM2Sbxlmqx6W8jXaoHufQkln+kSn7QXyymUEDDiNbbz6cc5i7i/AiUVk Vg/SbgYyDkDG3qkd2nQiqLHv35qT/MLPhARDqydWftAYlRTXoWUET9L5KkCmTN3WrFdM RdPA== 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=SX10jxlGrg7iRJoO4IPKN0fMxgZk2CvkcXb0Xz92FrI=; b=1LsMHCacwlH3DwsE0rhw4dPvBtT/ANpnGjCxliz2lJGoJB20+AHQAkTWDGEmGzxKVw 4WUYsCdY5AYQirYTHz0cac1daZPQbCcV/kAC1l08zAfH+HbDiBOmIMj0QmRlplpEbNOT 8/ohMp/2JirlbISR0KoqHC63JtlB66NHlKZOhLkKs0EKUyoe15dHssLDjgL87NBTjQsW 5sfpmO4TqczKbSzHGxzHmbzT7EmIgEH1KIpe96zMJUdtgkg3ClqFsxbmCsWycj3tffM8 nMGl+8iolvtbpj0tGV3Ak4Ug7jrebKJ4XinACL/jSax8roqbHLkpUc9kX31w+3AYbADw YfBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXE8SwuN; 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 22-v6si905480pfb.215.2018.09.12.05.17.26; Wed, 12 Sep 2018 05:17:26 -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=fXE8SwuN; 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 S1726555AbeILRVl (ORCPT + 5 others); Wed, 12 Sep 2018 13:21:41 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:36628 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbeILRVl (ORCPT ); Wed, 12 Sep 2018 13:21:41 -0400 Received: by mail-lj1-f195.google.com with SMTP id v26-v6so1422414ljj.3 for ; Wed, 12 Sep 2018 05:17:24 -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=SX10jxlGrg7iRJoO4IPKN0fMxgZk2CvkcXb0Xz92FrI=; b=fXE8SwuN103CUx9aOzpmThl4ko4Cb+BfHkfYB2WsQ2MxktTpOTxeiYK8Z66aCZMOUt D80Uby36y/+1MhWWz/BnzzVjtL97TIgCS5Mb6eges4pivmm9XU8Mi+PTKgVgjP0VXdLj jxWB7zxQ/gcSg2+X6lF17aZFDq8Ra1IUafoBQ= 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=SX10jxlGrg7iRJoO4IPKN0fMxgZk2CvkcXb0Xz92FrI=; b=h7ZMaSbtLJMBX0pkLFR/uL7Kjqs5d/Q6VL3yEjoWls4udTH6j78ML1g4rxPdfA67vI aXLpW2vJbY75LXsXMOD3ieEqKXPPBXVUV/3UQycNzsPz9CacBN9U5DiiAxdZSBHeNEp2 nTRVx0qQh65JauJriQY0ZErPdyvpot2iyXcWpYFxB7Y9d/ov8W0tdWgXR/MJ1/ecKazQ +5OFVuXCGjMaqWXoNAtNwOVMjr5uLP5rvPMGY2q1AWJF0duyo+jXEUl/r8+od1hfM/9h PFVbA6w4Vc0/4L+GNrrQlIrGmi2OspQY5RE4/7L2sm/azazL2R1k9LZAbQ9UsQQoVTyR kEDg== X-Gm-Message-State: APzg51CYo17DnUCtRAfvs4LMhMOLNuIsAPk0Rf7IRVBP/gFd798TV5AK x8cRF796DgnGYLVNaECo8riQCSVspfIrYw== X-Received: by 2002:a2e:86c7:: with SMTP id n7-v6mr1275365ljj.90.1536754643250; Wed, 12 Sep 2018 05:17:23 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j10-v6sm161071ljb.33.2018.09.12.05.17.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 05:17:22 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Daniel Drake Subject: [PATCH 2/2] gpio: vx855: Cut down on boilerplate Date: Wed, 12 Sep 2018 14:17:19 +0200 Message-Id: <20180912121719.9256-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: Daniel Drake Signed-off-by: Linus Walleij --- drivers/gpio/gpio-vx855.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c index d229640b5865..4ff146ca32fe 100644 --- a/drivers/gpio/gpio-vx855.c +++ b/drivers/gpio/gpio-vx855.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Linux GPIOlib driver for the VIA VX855 integrated southbridge GPIO * @@ -5,24 +6,7 @@ * Copyright (C) 2010 One Laptop per Child * Author: Harald Welte * 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. - * - * 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 #include