From patchwork Wed Sep 12 12:35:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146559 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4772989ljw; Wed, 12 Sep 2018 05:35:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaR7XAdAlR1KKhzQiqRGoJiB3BP7mwPZpqa9kB7c5S87VBw5ILlAZXfQBBCOIwReU9ou9CM X-Received: by 2002:a63:3207:: with SMTP id y7-v6mr2054830pgy.101.1536755711286; Wed, 12 Sep 2018 05:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536755711; cv=none; d=google.com; s=arc-20160816; b=quqM7jThHtSsqrFz5rdFRSfn1uHTg0GG3YwuD0961hvygA3HnMMh/iS3GaNdWtCTQt obyz3ZKKdNJB8MvQDEDyXm8JiZxsa6dCkblQU8Q9YnQheFs0Om0Bt2ZjGj82GAPbvZDw +UaYlqhf0cLS6oHnNsu5Zvr4IrvjIfuD8JCO0bp+GXfYcwurpjQNd+Gem/QB6iceXSzC FtcrIUCNQt47aMie+cfXE1ZoHjWeG23r9W6uPk9gYI1LhhB14Z5aJH3+CH4ebE1ud2Yw mcBVV5qj9WBdeLOK+UvB/0G0iqgYCWSxpXbaQMnuPAdWjYYYP1dFhGKMa9Nib71T9BwR saEw== 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=tqzb1FtQklVLt+aswvUNJHzqy/Rc5jJ4AkdZzCTeu5s=; b=N93vH7/jzPMEPu5gjAxQvdVe5/okeZxi7Muk2YJrxHmiUKQgoTAV+n2YzXVKmZ7mer JJZcp5GWOyMeQCo/LsJpasFpirX0xUa5zt07bxpwA5VZFe9bVuMtgab/7ZziZDHGduCL DjBQRg1oAcvWVrajdk3CCpaMFoyfBKiLe3gTRXqB7SVES9cBHzyxXgobquaNuwEhOrtO axl9+DV3Lo4wWvCnrss09bDQ3zgyHIanzYADDx4c0+kxSjjIPTJQLhA8Q8FfIIqYh/4W AtJWIioTUYiWXSKuNMUHsMSnoFuqet6G65dYMAHv/YeUoL7D373miKyv5W3N9dFYzhOm v6SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WFhUk0Lq; 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.10; Wed, 12 Sep 2018 05:35:11 -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=WFhUk0Lq; 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 S1726670AbeILRj3 (ORCPT + 5 others); Wed, 12 Sep 2018 13:39:29 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:44816 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726819AbeILRj3 (ORCPT ); Wed, 12 Sep 2018 13:39:29 -0400 Received: by mail-lf1-f66.google.com with SMTP id g6-v6so1514168lfb.11 for ; Wed, 12 Sep 2018 05:35:09 -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=tqzb1FtQklVLt+aswvUNJHzqy/Rc5jJ4AkdZzCTeu5s=; b=WFhUk0Lq6TkF2ylef5OVIXoABWg7YPA8h/82Fqi/WYGtzu85B7NvYe2lKep01S+Lzv aBSPnqNCo6orvKGhe2VQXca4697nlhsnavJ4XBK1arejnHL8p/WJy+BIWn66rRakoiQZ gT4UPZg5VLvQkP6Nha6GhADGBo0FXEERW6G8E= 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=tqzb1FtQklVLt+aswvUNJHzqy/Rc5jJ4AkdZzCTeu5s=; b=aBt8LJi56h2c+44vUBNQwA6IyFoMKKJk1WAoH47+CLVN1I6ad0kVauKq6NTvbRVI14 ZEGRbyIqAybFOaQ2z2OaPxzl5qvP+Q+TdtKi1BgeY+cpyY9OGpDrAPZbrQoJp+p7GNaw yibhUmemcuCJRZrWlO8VGhlxEYYAaIeZHo/ZByeek37xArCe4Oim0I3o0e8EKO4hgkfi hMJMA8R7Jdu8VIKZj3VxIDWXWHEfDSdAP/Q7xgP5/T7M0Vj4XKLNJ2Zz1hSgYrTK5KPC ublwAtNtnWTHx8q741BZ+KkW7clvpyrggjZ8SPHGZ/PNhpaALytuPXh/ZT7Uuu0FjAlP Sa6A== X-Gm-Message-State: APzg51CN2KGqzSuEEEYWxjCXLLeFdLMR+XBNz97fUYhiMDwNaHQlaJoR RS6Kx8vFmQPyt2/mEtSs7KTsCIz0sktpDg== X-Received: by 2002:a19:2287:: with SMTP id i129-v6mr1360362lfi.20.1536755707982; Wed, 12 Sep 2018 05:35:07 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id m20-v6sm166831lfb.27.2018.09.12.05.35.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 05:35:06 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Kamlakant Patel Subject: [PATCH 1/2] gpio: xlp: Include the right header Date: Wed, 12 Sep 2018 14:35:04 +0200 Message-Id: <20180912123504.12275-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: Kamlakant Patel Signed-off-by: Linus Walleij --- drivers/gpio/gpio-xlp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index 8e4275eaa7d7..3335f6a090d7 100644 --- a/drivers/gpio/gpio-xlp.c +++ b/drivers/gpio/gpio-xlp.c @@ -12,7 +12,7 @@ * GNU General Public License for more details. */ -#include +#include #include #include #include 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