From patchwork Wed Sep 12 11:45:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146554 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4721334ljw; Wed, 12 Sep 2018 04:46:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYjejdbyABdwq0QyMED6wGRVeioLFbSPYNTJ0G7cq97ZCXni/aOed3juu+fRn4od7lcUPul X-Received: by 2002:a62:d544:: with SMTP id d65-v6mr1842818pfg.107.1536752759888; Wed, 12 Sep 2018 04:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536752759; cv=none; d=google.com; s=arc-20160816; b=xb8J5sBdiTI0mPTXtNUFT3b7LKTfdGgdK+hjOqer7jnC3dPsu/1N5O9pqt+nXN46qo wrlXLl472bmXuRvEfcidAqGdw5fg7lkr6ryOETUmkeCrl2/yojDHCV4naCZ8Zlua5K3z dvi1hh1HpWDd2GxXeO8EF0JTyy2dxZrHc+Gu07E+YIyBrZayHRl2SdEcl6NbFVuthPAp AmqmloQbsL0+PGN9z0adev4vxi0tL0umUnwoRKnbpe2kx9rrep1/yhNPAeQsOT0DZfsp xPEbExdbRWXJs41uuJtw085qMdYKHQqmohs47raF7WM5/meY+CSQ5WmQaiiTjEkThrfw OIRA== 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=ShojfrDuQjak8sNwm4KuH4ee+gsCdK7ek4y4TfNumTk=; b=QLYf5aoMBPa3dzetB4evuJnT4WrKe4w+1JtXmPU8QTRwcvxvDkccbwne6GYrStIGcC 3Emgyl9h96pXoSipeDeJwuhNa+W94EiO5x5WNvdYAhJBntdeguQd2+5UY7OsDMstnwj2 Gyb6UypTlic80nm7OjSX42YAhSnzsyO3+cTsjocsGgK72AmjnsVPhxxpA1qfM8Sy6s/v y8WaqS29QIdOjau4erFCHrabJrhk9UylWonIFawM0ToGPC7lumaMLiM994cNETFkNETJ wVjp2EJ4eRp1BhPACRECAUen+FS91oULJz4ZLxeyxubdWVHRi4K5S+RUl/s3qUMF2UW9 6wGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1VLrBz2; 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 e14-v6si694519pff.332.2018.09.12.04.45.59; Wed, 12 Sep 2018 04:45:59 -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=Y1VLrBz2; 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 S1726743AbeILQuI (ORCPT + 5 others); Wed, 12 Sep 2018 12:50:08 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:43285 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbeILQuI (ORCPT ); Wed, 12 Sep 2018 12:50:08 -0400 Received: by mail-lj1-f194.google.com with SMTP id m84-v6so1326583lje.10 for ; Wed, 12 Sep 2018 04:45:57 -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=ShojfrDuQjak8sNwm4KuH4ee+gsCdK7ek4y4TfNumTk=; b=Y1VLrBz2EOwXCtTi6c60i+doBhBJfYCdlqmSDQF9gaQStK32CPJbq7GFCCZ+GN4H17 rJ0sh5WFWTmksnmdVC+YLaJHNt5NiAR37c3IPI2mEigGQZ4J2UTzG8MiDCtHWd+COE6N AbDlSUzgQAXWPPEw0pNVC/6aNIZY+zlaIQr6w= 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=ShojfrDuQjak8sNwm4KuH4ee+gsCdK7ek4y4TfNumTk=; b=jC0xlXa2Db1TcESzM9fFHhmf5Xaw4hH9u6DuPXmZavkwi5i1BJ+nLjg9chwOU11Wkc zRDHtp0Af/p5hlpJltNAjC3SL3U87nUv/AL+KYYCqFw6k9VRw9cb7nTkk2/VJsMadFQE 0kyEEWvsPzmkSDsOeEt0ASimEGGMNXaFzacmf0n+pKM4JQN46emYEvLIUQM6PxxIqK/j r39pNQEYP3NlS+F8v3TEV9wuenloX56uuZU0Ac2MR8nH4q3sDveRDqYjr0YxpMyDn2PD PsvsUwT4pS+IIXWrpL2wrWySXp2Yxm+h9ZB9Uw1xUzpulAU4LHOEECnTWWeTshs1nDtX HZ8w== X-Gm-Message-State: APzg51D46jnivUP5dACGgcJNnuKFfd4ycwp0HIgU16he2jxsTromGU7z /rxaLtPVWn2P3j8egHhYu86Tt4N1Y3MHKA== X-Received: by 2002:a2e:9599:: with SMTP id w25-v6mr1146465ljh.6.1536752756698; Wed, 12 Sep 2018 04:45:56 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id l14-v6sm137607ljh.91.2018.09.12.04.45.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 04:45:55 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Baruch Siach Subject: [PATCH 2/2] gpio: xtensa: Cut down on boilerplate Date: Wed, 12 Sep 2018 13:45:52 +0200 Message-Id: <20180912114552.3943-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: Baruch Siach Signed-off-by: Linus Walleij --- drivers/gpio/gpio-xtensa.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.17.1 Acked-by: Baruch Siach diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c index d3834d727d3e..43d3fa5f511a 100644 --- a/drivers/gpio/gpio-xtensa.c +++ b/drivers/gpio/gpio-xtensa.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 TangoTec Ltd. * Author: Baruch Siach * - * 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. - * * Driver for the Xtensa LX4 GPIO32 Option * * Documentation: Xtensa LX4 Microprocessor Data Book, Section 2.22