From patchwork Mon Sep 10 06:47: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: 146282 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2148838ljw; Sun, 9 Sep 2018 23:47:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZNg54OI8CvtokQ4GQAxOtlA5iA9WVGTvKZPVoDuuAIi/uZEM8uwr51DUjEGf7XFg/mcEdk X-Received: by 2002:a63:9409:: with SMTP id m9-v6mr21086842pge.13.1536562053556; Sun, 09 Sep 2018 23:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536562053; cv=none; d=google.com; s=arc-20160816; b=Tj6hh6Fo+j0aKR5g/kcDMxJtsNxgJGbms+zieG01jkjoT5rxskWl4u9gRTAqWdeAXm QVZyv57tABrOBlOvEMALeS1bynx2IFzlj0bsIL+vdKoEKihsb9/xwCTLG6gsQhFsw278 GyHOYqvszu+tVdg1MQIIw8ICc79rDDm8TYGzTGBnjyvSFFQZV+zkipmFYLJfyOEQlIc9 9Ra4HX4R10zEbRpIfDK3oCmhZSShg8sfUKqsfacVq1MndC0XaVY7Tf++hQ7wtbLh0Qmj nUhrAvj+3Ucwgo5UchXNIgoWKAWm6wqHOXqr2/rfnOTWh19B5HQF5x1wnUzY7cKuhlWN UtkA== 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=cGExf5keQn2qKWOuraOJlmhmfv23050bgPzXJ2KvV9o=; b=JvLu1NHj5HKZaeRz4qNQsR1xWyR6IGS7abX7SnFQm+n7S74137lC4nJe0K8q08jNJ6 tqUwyTHZ971EZd4vmlXnAWMSq90l+sB7OghIJrCNGmFFsuItQx4kZ8ELR4HZ+DDe+L9D ax9tFnCK6yiiAsCUXsyBDdM7wlzzrx9yKHuSnBkTpp9M5r6NnE48x3804KQbkRX5OZiR Jx8IaLVn/hDRhFI3e/ALaN23unB7D40e8jEiZu22/jecLWpTf25GlT0Sv+Y8EBMGEhq4 Dj7wrvx6hZL44I7jca55UEj+IBi/VS9A75ulxPgJyMroTdDEMdtf8VghrVFSLDt/NGTH XYUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iE1YHL4k; 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 p21-v6si14745626plo.182.2018.09.09.23.47.33; Sun, 09 Sep 2018 23:47:33 -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=iE1YHL4k; 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 S1726547AbeIJLkC (ORCPT + 5 others); Mon, 10 Sep 2018 07:40:02 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45573 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbeIJLkC (ORCPT ); Mon, 10 Sep 2018 07:40:02 -0400 Received: by mail-lj1-f194.google.com with SMTP id u83-v6so16867339lje.12 for ; Sun, 09 Sep 2018 23:47:31 -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=cGExf5keQn2qKWOuraOJlmhmfv23050bgPzXJ2KvV9o=; b=iE1YHL4kYvbYc94+bbL0tguXqjHD79Y2aHLI8hmgOG4B63YikiSRKAUPzK+I3Dlgw6 zPdw9d5psbuBlqp89r/q5lvvEmh4XcALcTqKUbb9pp7h++yZsLgcQjIYyv9MGzNxoPBC RFkaYm3Zpcl1QPM8vBLxsehljupvkMLLXcP7U= 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=cGExf5keQn2qKWOuraOJlmhmfv23050bgPzXJ2KvV9o=; b=Fea8tqVC4vLJ5hAWnORuDZnBSX3kyDvno1LRsWBn7We0D5AinadjNWsU2Y88AehkJi Rf0wqms8c1mBkwZ1xSx0E4aZd8Tl1E0SEmy0ijTPS7EIjuJRaQO3uEEN8tGzzZwv9uIf zXf4P/RfkosFo84t1S7DeVOkvr2hKS7q9D15i6eO6Kc3NhRQiPDY9IDvmAd0/+ROwlCD 9N/pWJcGtwefMl3GHmemadF1yHnVLdHHcGHPCkHsViocn1W6vNXXYXeGgYjQ/uoxZDOb PqdDPc+Z+OT3a5kBXPNTo90OZzS2cyIWAAxTcPaKw2y89hsQlHgrWZKuTnIk/Xj7IeQO WvwQ== X-Gm-Message-State: APzg51ArNOsDCfjcGYqGKZqhjQkhOIYRH3LW/TjzsH3PRyj425grBIFI Sz8LCVwtzDD+n1wQry/lIklVS1MUfm2grA== X-Received: by 2002:a2e:2ac3:: with SMTP id q186-v6mr11114049ljq.123.1536562050654; Sun, 09 Sep 2018 23:47:30 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id p9-v6sm2626525ljh.0.2018.09.09.23.47.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Sep 2018 23:47:29 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Stefan Agner , Dong Aisheng Cc: Linus Walleij Subject: [PATCH 1/2] gpio: vf610: Include the right header Date: Mon, 10 Sep 2018 08:47:27 +0200 Message-Id: <20180910064727.4704-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 only include . Signed-off-by: Linus Walleij --- drivers/gpio/gpio-vf610.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Acked-by: Stefan Agner diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c index d4ad6d0e02a2..93eed646d92f 100644 --- a/drivers/gpio/gpio-vf610.c +++ b/drivers/gpio/gpio-vf610.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include #include From patchwork Mon Sep 10 06:47:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146283 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2148933ljw; Sun, 9 Sep 2018 23:47:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYykud2OOwhPtNUfYtHPbK0jAbG6xXXamiZPDXJy+FaqNrCjsu2KRqYUKj/sRzka4v3rCV1 X-Received: by 2002:a17:902:d211:: with SMTP id t17-v6mr20516891ply.258.1536562061381; Sun, 09 Sep 2018 23:47:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536562061; cv=none; d=google.com; s=arc-20160816; b=kYo5DjLnORdebwsU+lX1KyqrnxPwe0XDI8cLl+TnM3aRXfHBj8ylCkJNdaULq4H2C9 yX4xox5GQjLxy6Iiy50PrFfdG7YVE+VlVlh/RTsHenYISlxZXxi3yu27KM4wCroHyeeO HD7UWou9sIlMy5izhcOEVSc3w9yqtGekj7M14v+Mo95lg2oct/8zKlAV98xivBDSh0CO Q468LTmKZ//vBd77GCWTVqvev8v3ZTwDuiP8Kno7GgM++d1+DdfuwhGRhhqesGGi8B0G WwrJGAAPYx40rstdtBXvdC7PEBe840gUY4mBBq3BwRrrVdDjxEe2rt3cXx4DKHy1ARlJ V5JA== 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=sLbzJvFc0wxVZ1Dpsu3+sTbcLzaHUy4VMoFEg8RpS7U=; b=YXCIY/2+6xNgJap+piVAVdaz+/rUsms64+58S3p1XqkrG7z3FRsGREBG5KM9S5RM3C aABLCSJ0o+A+6N5brNbJPbx3MhV3kJa2Ld1xjzssBtBBoZqO0Ug5vozwTykrrRhuHc8s B5DPl5tVRkeeD9gthnBwatwu1IrHPgAh+IpmT/e9zXKn/hPjjZYcm/9gKYC8BpyEhiYo VKoClj9O/bMlC9EE57B1V7lhRKZkHK3q1fYXxCdegTIFi7L0Fyo1osTlzjIr4pD51Adn FmA22kWJGWc4zoxxpL5Mp4XjPyOD/K52mbVnBZGNrPFCsSI4XrG6ryxAK6hCzIzLtAcS A2SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aN5GrwlH; 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 p21-v6si14745626plo.182.2018.09.09.23.47.41; Sun, 09 Sep 2018 23:47:41 -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=aN5GrwlH; 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 S1726165AbeIJLkK (ORCPT + 5 others); Mon, 10 Sep 2018 07:40:10 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:45587 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbeIJLkK (ORCPT ); Mon, 10 Sep 2018 07:40:10 -0400 Received: by mail-lf1-f65.google.com with SMTP id r4-v6so16456729lff.12 for ; Sun, 09 Sep 2018 23:47:39 -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=sLbzJvFc0wxVZ1Dpsu3+sTbcLzaHUy4VMoFEg8RpS7U=; b=aN5GrwlHA6x1JwfbzLVVUfgO25h6kn25Pt/6z2X+5YW3KJjjB2S/EIV330NUbCzuMP J/3u3kZN9t3VQZDrFtLU3rM5Fui6UM+eXm72DAl2+wTF5rTLlo1wC5/78agc8/4M6tzv 7Dp/H/Fvv+xBIWHUYqMhnC9m4183ixILHz/eQ= 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=sLbzJvFc0wxVZ1Dpsu3+sTbcLzaHUy4VMoFEg8RpS7U=; b=KUowmR7yHQU0k64iqrZOD0/qQwdV6sPMl1R1I2lgas6Q1q2icF5CyaIhnDlBIjnKJI /ZQTGb3YsaD+kTN4+4169wgPoRb3rjRiaDLYGgIyiGbt45Rogma2R5cRK8Uu7FzSAgWj ajelASZIEbrOTRxpk79B3P5VgWGjjy/kPYkoUtVGZ1yh89iN/RmM2QYyJkQcll5WNj71 7Z72dFnApZFdPO6r7xiNajcCEAAEr4ZNfQskBXemM6jX6a4yw3ABdK6A8aSiGUak8hdE +tKGJyyDHxjfVVfJoSW0gBncBuq8Sr126v3D9Yg8Yu74htzLO2R7D13XiixsXjavaq0s IfDg== X-Gm-Message-State: APzg51CABW8r7sE6PnGPVV5y82cYgiyfCgJI4IwgtUOYzAmJ7ra64GMB Sv8jOf4PTlcZ9lOKvybTlGItKHYjCX3kHw== X-Received: by 2002:a19:8f10:: with SMTP id r16-v6mr11974480lfd.1.1536562058428; Sun, 09 Sep 2018 23:47:38 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q15-v6sm2588085ljh.34.2018.09.09.23.47.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Sep 2018 23:47:37 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Stefan Agner , Dong Aisheng Cc: Linus Walleij Subject: [PATCH 2/2] gpio: vf610: Cut down on boilerplate Date: Mon, 10 Sep 2018 08:47:35 +0200 Message-Id: <20180910064735.4780-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 identifier for the license. Signed-off-by: Linus Walleij --- drivers/gpio/gpio-vf610.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) -- 2.17.1 Acked-by: Stefan Agner diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c index 93eed646d92f..5960396c8d9a 100644 --- a/drivers/gpio/gpio-vf610.c +++ b/drivers/gpio/gpio-vf610.c @@ -1,20 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale vf610 GPIO support through PORT and GPIO * * Copyright (c) 2014 Toradex AG. * * Author: Stefan Agner . - * - * 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. */ - #include #include #include