From patchwork Thu Sep 13 11:31: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: 146619 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp489405ljw; Thu, 13 Sep 2018 04:32:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaVv00dNV20UQoEVHVVowTG2lkrLYUf6EMKNPAItxlusYqG+comOTRje43repd2euja7vEF X-Received: by 2002:a62:2a48:: with SMTP id q69-v6mr7054799pfq.86.1536838321491; Thu, 13 Sep 2018 04:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536838321; cv=none; d=google.com; s=arc-20160816; b=KZv0TYjgRDznzLIKEKUWaBTeXHuE0ygwujG13nS7Ibz9q057UCyDR69E5ci2UJsGl7 nzg1W4y2TlATirFNCPXOX710kfFULLq384xyVDXr4tMdpnVzWpSJC/Sdrg+B5/5Z1YWQ dIig63dkAj+n7M7C6W8H00vbzKLYk7chanS5JyEw7hX5HmJokbxjInkt6akM3g+MTS+c l4PJbRKTThKU3Qnea9HbvDwSJeffSEFZiJXDMgUq4fc2CHR2C2nbQQdXU6Yre2J1EuAk Ug+f5AlW2VGbGYo+KGcK3tFynWis5wNG0GY5GATHLwodGRT9wFE0W+iA7PH+YmaP3c9B Lrcw== 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=u/dcBTja/+hHkWrYroo4056mHpvdOVRtQ5HcFdkaNKY=; b=OmD0bJYtbPbNLdRHuj5VuuQZZ1lPMO7Dt9ZMXhi+pR5+9wsc2Zqhuxe19m2tY8i7WU Z98MCDi1SkFhDkrEU9IFmhNk8ToX9nQ6T2nARl2++uZ+7+cbC3TLmfHeuP5gpi7I+H1v Sm4nVPYVx45fvghgx3PFzDL41z2D5mOOWFO0PEY49EWLEwbkCbgzyTuczeoMz47jWiEr W8kasdifMI0+l2WT1HehhzBS+LRcVMcAFox1Q0FdIIbwkOPi1v6ux/4AI0Ik0bRckpeu hgVQjR84YQe2queoQ9ru5YM2V0dsOm21wuHu808PKITGhh7d1cjOinpNlrfe1viDlG3w M8Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q7acAoVy; 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 f15-v6si4034604pli.194.2018.09.13.04.32.01; Thu, 13 Sep 2018 04:32:01 -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=Q7acAoVy; 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 S1727246AbeIMQlD (ORCPT + 5 others); Thu, 13 Sep 2018 12:41:03 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:36039 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726970AbeIMQlD (ORCPT ); Thu, 13 Sep 2018 12:41:03 -0400 Received: by mail-lj1-f193.google.com with SMTP id v26-v6so4310965ljj.3 for ; Thu, 13 Sep 2018 04:31:59 -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=u/dcBTja/+hHkWrYroo4056mHpvdOVRtQ5HcFdkaNKY=; b=Q7acAoVyYv9JuZdFIjoa+MX7iH0Fj0yWb7TE4pHTiXKjtzbr40T9asvucI/o2c9+bH rZa6MRBWun9KU4D+PsywMEuvemxJCFfC+SBuklow17mMlWwPdK9v2cgVsHMfe/3xrA7x TJN4jXBihQxzWP6hhQRPdWpHi43K5VU3di4dE= 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=u/dcBTja/+hHkWrYroo4056mHpvdOVRtQ5HcFdkaNKY=; b=gRwpHxRePj+AHnj2PuNQPlmaEuQS6fBlkD4njYXmUGgnlUM4ZpgW914ZN3nqCoLQX3 +trHIk0tymiG9sKv8pVTfn++HSOoKOFV8PpoL2GH0Mb4nwOl/GstYSNUWi0nhafRrx+i b4Wxkt0EgmoNdDnuiuWDy1No2vTKGAbS2TjLo1W2SmgbxrZ1hHK40u16leyvACRcU36Z qENSeCSZyfWlTjAl0A/6OAgip6IQ3boKLI7ILT57Wg6oWB/jSN+RSTv7C5EiQgKu1120 6WKQRtTSKDnQJFtpTdar0daN2yNr1seeHdTRbXN+dYQ2uiv85z9awhR7ZOu1rSQGaE+o 0f3w== X-Gm-Message-State: APzg51BoR9zwHDoAfGY3tM//5w/3SRQJDBMIRioIW5IwV6ECVGrU1zwk QlT2AAaeqlZ2QTQPFbniqR2ULNfpHLU= X-Received: by 2002:a2e:998e:: with SMTP id w14-v6mr4215899lji.7.1536838318164; Thu, 13 Sep 2018 04:31:58 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id m8-v6sm662762lfh.25.2018.09.13.04.31.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 04:31:56 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , patches@opensource.cirrus.com, Charles Keepax , Mark Brown Subject: [PATCH 1/2] gpio: wm8xxx: Use the right header Date: Thu, 13 Sep 2018 13:31:52 +0200 Message-Id: <20180913113152.31847-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 These are GPIO drivers so just include . Cc: patches@opensource.cirrus.com Cc: Charles Keepax Cc: Mark Brown Signed-off-by: Linus Walleij --- drivers/gpio/gpio-wm831x.c | 2 +- drivers/gpio/gpio-wm8350.c | 2 +- drivers/gpio/gpio-wm8994.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/gpio/gpio-wm831x.c b/drivers/gpio/gpio-wm831x.c index 324813e8304e..85cc11132f95 100644 --- a/drivers/gpio/gpio-wm831x.c +++ b/drivers/gpio/gpio-wm831x.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpio/gpio-wm8350.c b/drivers/gpio/gpio-wm8350.c index e46752e73dd9..fc844f142842 100644 --- a/drivers/gpio/gpio-wm8350.c +++ b/drivers/gpio/gpio-wm8350.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/gpio/gpio-wm8994.c b/drivers/gpio/gpio-wm8994.c index 1e35756ac55b..b78c1c6f1b96 100644 --- a/drivers/gpio/gpio-wm8994.c +++ b/drivers/gpio/gpio-wm8994.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include From patchwork Thu Sep 13 11:32:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 146620 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp489585ljw; Thu, 13 Sep 2018 04:32:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYECEIa7bv1D72z1r9WbVJH6EW7maAHi553vWnyI1+Q4ooPIQKl5UTSdZPGwpdWI6fruHNB X-Received: by 2002:a62:cfc6:: with SMTP id b189-v6mr803597pfg.224.1536838332478; Thu, 13 Sep 2018 04:32:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536838332; cv=none; d=google.com; s=arc-20160816; b=T+DZwtRRx6jcW6bmqNlv+pWVm6WMjpdUg4zKnDkJes1ES1pa4OLg/l9pkQ6uMFJ030 SG3sCkNCloYrlPaCYJlh+Lpowt3/lJzx6Tc8CvWspNN7XTtrvAqsH1WLV+325sC5rj82 EgQ8q8ltDh8fseCqJ7LcrkWdfBPKfJ4qh0OS7z9kRcVRGD7HcgzQUC/RElPx2FXWyuAr IJX4RHxhq6lOa5j4WKkms7ahWQm3DBTw/6cj9qnlY5MLFLrJlp2o7kUDi+lEx6u3CkJW pH4vuWkLbye5uXTO+MMg3ozZANGMYaYzUhk9ZV92RJyzTui/tivRLjLYUW/OfSl7BXPY Xk0g== 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=BzNoK/F3zV5G7WNgS9QIhMWrVqdcCwhWRLeZAJRiWBg=; b=RIR3f2TFWKAP1FZP9i3A9s6So4Bf3cjrLfUEp8GuVNkU4g3AcQ0RxLesWcLnW3VHnM 0m6Xfs/mGtmmtCIcod9cXyv6hdgdzCU9JtUcHmQRGQB7/mP+lNuhwGpEaNWs2LOsn/0z mtV1hJYZzbFFs879i+HDnFjratowHVNNuzCy6QimkGe2NAW+x4hJ+l0SxPnKKnTiIcqq BHHion+9hGDuiZxPu9tGy1gZDlNvjbl4zvhazYhAmzcNjXMdkoE8Xujr+1VdKVNwhlTd zCbQXaMIkXi69dIMK1fdifHMzeUwCuQeyaNetmYM7S+e5NQVjatuwJzuzBS8GgsarlNA PJLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VqRkTAYR; 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 b2-v6si3992289pgc.541.2018.09.13.04.32.12; Thu, 13 Sep 2018 04:32:12 -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=VqRkTAYR; 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 S1726741AbeIMQlN (ORCPT + 5 others); Thu, 13 Sep 2018 12:41:13 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:40496 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726879AbeIMQlM (ORCPT ); Thu, 13 Sep 2018 12:41:12 -0400 Received: by mail-lj1-f194.google.com with SMTP id j19-v6so4289284ljc.7 for ; Thu, 13 Sep 2018 04:32:08 -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=BzNoK/F3zV5G7WNgS9QIhMWrVqdcCwhWRLeZAJRiWBg=; b=VqRkTAYREYFPLJDnglde3DAgdwBOVyRsulFPEvXLR5DbTqGPBlMs+vMMrvG1rGuzU7 BrQFAoOuTyMd/IeAZvPQJGX9VL1057+R9wZkFumtl5bGD+b47Gm3myT1zLaRHh+QEdtu MfE0yU/NBrrWlBXQ7oUS0Y1JV8RsPtEkmEFtg= 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=BzNoK/F3zV5G7WNgS9QIhMWrVqdcCwhWRLeZAJRiWBg=; b=W69jHQbnQEa1C3LeXOtOgQtcmEHPLejLcaEnPBD+F8sQ7qPYDYsfgqxiyKr/1jGfUQ VQFHfB5gsd+hdJoST/JngZP5cbCUzqXXtLUOnwYUD9XDZd78d7YGBLr3oJyqW3Mrv2qb yL5CfARKPutTzuZ1fTyekR5Qs0GYxLUpzLE7Byka9s8dCMZjsWeuosf7D+5tEnJb77x4 8EeVlEqfG9UDE6Ohnv997pRgyrdqAtumKsC4TbpOvtJVxywHAX6ZFNsRqf4DOdjoQCwr qhZfm1QnbrHuTriiUTfIUOKnhoWJCzmovY5rMNmJsX1beG6gJl/DZa+BWnxK3eFX+xwm iRLg== X-Gm-Message-State: APzg51Bb4d+FaiZoyQAlnYn/57oIlCZmBY4LE0rJHno/732SgZlS2MfG zyciJ8hP1Goc4pvhtXKKWhrMnw2baZk= X-Received: by 2002:a2e:811:: with SMTP id 17-v6mr4469045lji.140.1536838326847; Thu, 13 Sep 2018 04:32:06 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id g16-v6sm669448lfb.5.2018.09.13.04.32.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 04:32:04 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , patches@opensource.cirrus.com, Charles Keepax , Mark Brown Subject: [PATCH 2/2] gpio: wm8xxx: Cut down on boilerplate Date: Thu, 13 Sep 2018 13:32:02 +0200 Message-Id: <20180913113202.31926-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 these drivers. Cc: patches@opensource.cirrus.com Cc: Charles Keepax Cc: Mark Brown Signed-off-by: Linus Walleij --- drivers/gpio/gpio-wm831x.c | 6 +----- drivers/gpio/gpio-wm8350.c | 6 +----- drivers/gpio/gpio-wm8994.c | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-) -- 2.17.1 Acked-by: Richard Fitzgerald diff --git a/drivers/gpio/gpio-wm831x.c b/drivers/gpio/gpio-wm831x.c index 85cc11132f95..a3a32a77041f 100644 --- a/drivers/gpio/gpio-wm831x.c +++ b/drivers/gpio/gpio-wm831x.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * gpiolib support for Wolfson WM831x PMICs * @@ -5,11 +6,6 @@ * * Author: Mark Brown * - * 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. - * */ #include diff --git a/drivers/gpio/gpio-wm8350.c b/drivers/gpio/gpio-wm8350.c index fc844f142842..460f0a4b04bd 100644 --- a/drivers/gpio/gpio-wm8350.c +++ b/drivers/gpio/gpio-wm8350.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * gpiolib support for Wolfson WM835x PMICs * @@ -5,11 +6,6 @@ * * Author: Mark Brown * - * 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. - * */ #include diff --git a/drivers/gpio/gpio-wm8994.c b/drivers/gpio/gpio-wm8994.c index b78c1c6f1b96..9af89cf7f6bc 100644 --- a/drivers/gpio/gpio-wm8994.c +++ b/drivers/gpio/gpio-wm8994.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * gpiolib support for Wolfson WM8994 * @@ -5,11 +6,6 @@ * * Author: Mark Brown * - * 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. - * */ #include