From patchwork Wed Sep 12 12:35:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146560 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4773112ljw; Wed, 12 Sep 2018 05:35:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ96PHkiDCjGRWKqs4kzF7ERfbNxbyDLEP0fItvRrhEhlCAW2gn0uHZtvMrS5LLVbx9EvfD X-Received: by 2002:a63:5d1f:: with SMTP id r31-v6mr2031640pgb.445.1536755719726; Wed, 12 Sep 2018 05:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536755719; cv=none; d=google.com; s=arc-20160816; b=jioLLbppGLYU7JoHpuF+0Al8K3lHRB9dMj2xlpZ/Jhxhb1+RwQ7UhOCmS/WpBxQuRs 6umbcl45C+CGceZHQyYvtKSpQjpAB9S3lDSZxnF5CYCGvv3sgYsDrJDY1LA7cQGol4Os A2mfA4QEEJxWgavvw+xQibnCqtJHJFgmO9+TkkRPVRnvde1hWumlhFue49oELdVzXXgB 2WggFdY5jGQjz2Lpy8m/aAkX1D9CTv+RVClWZGcTdGpaeLkVTse+lEfQ3C8DQc8M2K8b qZrS3rKUwBsdWyodDX3DjLC0OGdHp7xzb057EW3MzLSkaM0oZ2wj8WsP3DWc1I7kSZzW Jd1Q== 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=dsCD0Z7s+c35uzTlN3+AhcguMJOf7MKqbVgU9dGL6rc=; b=d0tG+NSHQblNiE2jtsel19yhHkk3GtGGsoHjHeeo5DeRtJmwjPKFvascIMQrcRASdH E5jMgaFQG+MMy5UeJBDYr44MRmKS3NIDO+scC7joD3i5gtE/vt26x2WEnHakouBHDNKG 2lS2RVhB1oyvvkePglhnGCKE+u/qO5k6cN/kwuk/aBlKRtNRviR+P8vzjXTBAS8qihn3 G7a1WdicpoB2lQvgX/cSyWHNaFI42mp91SYDwfJslHfVstNTP0xL21XOTX2/+EKbDENy SxQfteDs3k50h2/FVl2Uij7879BQqXsPBj/sMNPsxINlxr/kbnePFT3OlytFl6WQ9vz6 O9/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eQmsV8YX; 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 z188-v6si931208pfb.26.2018.09.12.05.35.19; Wed, 12 Sep 2018 05:35:19 -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=eQmsV8YX; 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 S1726819AbeILRji (ORCPT + 5 others); Wed, 12 Sep 2018 13:39:38 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:43246 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeILRji (ORCPT ); Wed, 12 Sep 2018 13:39:38 -0400 Received: by mail-lf1-f66.google.com with SMTP id h64-v6so1518164lfi.10 for ; Wed, 12 Sep 2018 05:35:17 -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=dsCD0Z7s+c35uzTlN3+AhcguMJOf7MKqbVgU9dGL6rc=; b=eQmsV8YX65PEraB/6kxsuG89VzKEsJNOLnEkweWb+/PwqzTlHhdAqfQWHZyPBW74AK ZYw6KpAPCrbh9BCT76hmgHadjcYzMCX5rUQ6rhuylKL7CxBmh/u2akAE7qRtakNMtm+S /1lBYoLqEzWC1echu5HJOGrSbz2COab1LkaoE= 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=dsCD0Z7s+c35uzTlN3+AhcguMJOf7MKqbVgU9dGL6rc=; b=R+hUTQ2BeApy1gjNQe7s4oFf6Uyv6NwTBFkxgddiXyAxGwrkymFWlHopYhqEzAkoGR zj1eQfVnUBHM/p8KFdX1YReayP+qTF9MVzN/HILQqb7Ax837KSKOcPYk9saq/24pXSVB Mm+An4y4NrVKdKxppbthuPVgWzr6B9z7vLmJxfKlYKTgnb4rUOnpn0O3fHRmp1Msg5We lY8qmbYaQuSp3Q6Yms+t8VceZYVgGi0aTklDz48OkLXh6lwjpmMF+wvyFGoDEGnhTtDs re90WEYH0A2qmkpOBG3HDDrbju2xfbqGsIv96CurdCIimF5z0cRkRlLKXIssGxzav8VB LZtQ== X-Gm-Message-State: APzg51DYjzT70UoZxgnveFR2kl0UqJfCrxmZxqihTfjoUTljMAyUkX8r hnsfPXQXVbEtJEgbVFkRdMU6BXQy1UiQLA== X-Received: by 2002:a19:4ed1:: with SMTP id u78-v6mr1431274lfk.0.1536755716573; Wed, 12 Sep 2018 05:35:16 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id d16-v6sm163005lfa.42.2018.09.12.05.35.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 05:35:15 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Kamlakant Patel Subject: [PATCH 2/2] gpio: xlp: Cut down on boilerplate Date: Wed, 12 Sep 2018 14:35:13 +0200 Message-Id: <20180912123513.12343-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 license tag for this file. Cc: Kamlakant Patel Signed-off-by: Linus Walleij --- drivers/gpio/gpio-xlp.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index 3335f6a090d7..0a3607fd21af 100644 --- a/drivers/gpio/gpio-xlp.c +++ b/drivers/gpio/gpio-xlp.c @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2003-2015 Broadcom Corporation * 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 version 2 as - * published by the Free Software Foundation. - * - * 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