From patchwork Wed Sep 12 11:45:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146553 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4721115ljw; Wed, 12 Sep 2018 04:45:47 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZPDi6lHolccjlSx1nyQP08w3p3e1kJP5rqQZgCSc1NaI2NHJ4yjKhXQuDyScMIWnhw9DNV X-Received: by 2002:a63:cf52:: with SMTP id b18-v6mr1791772pgj.194.1536752747343; Wed, 12 Sep 2018 04:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536752747; cv=none; d=google.com; s=arc-20160816; b=JMBkioEgc4jk1chH682abVakxEoTUSBEUu9ouCLEzn8ySQKMT/QuJLl2pYOgVg2zs0 1Q88KHfudQXJYbJsUrWiqSS7e6+MZHzGhjbluEjfynPlOyI2IOeI1F22GgG9hrzRR5oA aVlJphREF5V2lL3TmpWOTXfXGjJn0HMTUF+mHCFlOtBNiRcrpC3o7z+0z7mds3XAW0lS OUKvAaJ/s+XtGOtRkvvRK1brqYp1RgqcyOe/QiIzt4vPA8MdhLqZRUrhzljT/CfCQ8BN LOpD1u5dmJQsEgfD1o3BkUwgfjmwMgqE9EyZSn56+0PlAkce5jn3g6YixdJu98Hf7ZQH stPw== 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=C8HTHQeu9ZUKb/CSMBsnTGRx5KMsR06hteju87H3HuE=; b=S1tkcvVOyx34K9Efwj9ldPYqPNuEj5JtWn0GCpf1+Ojm6Y0ZqXotlvZLIObOMraWCI 9dU1BnrPn9mkhzF8/9KYnZzk2ogdlJptzoDS0hs0oYV4NXMtm9aLhKCEYHMRz9UtuO0+ rIySbOxUVixEqO5p3JoaoDWsdQFjq+uybFkeDFCwdpWrW4zGpWVM3CVlFnd7iwRhcxKU c/JV4KwZVl758JeUNYI1HUpniUF8Fi59b+X7oYCUElAMXq5l7P5JRwgdatECrGanZIlU ypOdX84YlR0UwpEJGPJHguugiYS0K55AwgB41A9AQISViPISJjyyO6yrh65bOwAbMcIl kWSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JrsLR18t; 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.47; Wed, 12 Sep 2018 04:45:47 -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=JrsLR18t; 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 S1726673AbeILQtz (ORCPT + 5 others); Wed, 12 Sep 2018 12:49:55 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:36829 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbeILQtz (ORCPT ); Wed, 12 Sep 2018 12:49:55 -0400 Received: by mail-lf1-f67.google.com with SMTP id x207-v6so1408242lff.3 for ; Wed, 12 Sep 2018 04:45:45 -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=C8HTHQeu9ZUKb/CSMBsnTGRx5KMsR06hteju87H3HuE=; b=JrsLR18t2KZGi99Mc1Knni/mtsnBd5w0i6W6zhiPPlG/FnTISzG64yGHw/D83/QakG X7Yn70z7avsujCxgDi5wcgfNb1hHesXmB8gWkk9HANYJWt6+/BRhtv0QojjO/EViuVuY GXpVAv4I93hh5V9LJqNEXcB8B4rdk1z2ymHu8= 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=C8HTHQeu9ZUKb/CSMBsnTGRx5KMsR06hteju87H3HuE=; b=PGmlZ6yXRjvwxN2MH7M2NU81qLo/9TaRoi7FMSzj02eAtNSwBb1Lshkav2MN7uDltN COBfjkwwaPm9PUSmEQdFOZ54BkPmbrYy8BxTbIW0ndFG4Wxap/Y8Xbg/thAULRJ/qx5U 5IrPdCrqJXppj0PJqhFvW6zEoX33XL6eXyxJ/HMpY/l6iXnc44ntyMWkgSd3AhyqzMDx FSKEE5J//UzW7YEdFLgxt9xNyQgIEtIbk/k5V2IXIbHOQyZtV+uFGEp1GcvnSv2Cw+XM Zg1IPPjp8rycjcXYVm//GBgKVoy1FtMYa62sDd0lU7/grz0Iggy7+ts9ncNO6ec6Ieut 8ZPQ== X-Gm-Message-State: APzg51Ajth7nyNGBm0SNsozYtN0isdEFNvvHE1WR/brKJFegdB861q3o oJFb6DA0Q1sQL+gib6ONPEHkUGuGPzSv3w== X-Received: by 2002:a19:e21b:: with SMTP id z27-v6mr1276246lfg.68.1536752744659; Wed, 12 Sep 2018 04:45:44 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id i2-v6sm139585lji.88.2018.09.12.04.45.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 04:45:43 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Baruch Siach Subject: [PATCH 1/2] gpio: xtensa: Include the right header Date: Wed, 12 Sep 2018 13:45:41 +0200 Message-Id: <20180912114541.3865-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: Baruch Siach Signed-off-by: Linus Walleij --- drivers/gpio/gpio-xtensa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Acked-by: Baruch Siach diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c index f16c0427952e..d3834d727d3e 100644 --- a/drivers/gpio/gpio-xtensa.c +++ b/drivers/gpio/gpio-xtensa.c @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include 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