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