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