From patchwork Fri May 11 17:03:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 135557 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1117744lji; Fri, 11 May 2018 10:04:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrNpWofeoxKzU0pxlo4gP7tmmYdxEvioTjIqv/F+0sAtKoykUvDPXZvwwfwXxTywPNvK9a5 X-Received: by 2002:a17:902:ea:: with SMTP id a97-v6mr6121226pla.28.1526058282078; Fri, 11 May 2018 10:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526058282; cv=none; d=google.com; s=arc-20160816; b=osL9+jCjTiWAay/fzlkadrwsRfX7fq2vc5KbtJIbYIyXbrV/9BFvvSQDvf/BW5kuEk E2+28BFM/eHok/BAbY16n8aAb4sCf5RSAWD/IsTA5CDqO0f9qHGPe2ThYUrZv9BTHYDP Q1cajepVlvW5KxWaRWJNaavDXBTnQxNNWYWlrfSMNk7VDliUrO8LySb3nuo+7nplHONz vAfG2NQKWnh25lrKwX8b89r23S7sPvLl9cQNITFK8lhHnZhkLqGFpCCQ6pLg1oD64wx6 HYw7E+1a8AY2AMO33uIxGAzkSY6ucfv72iu4J29i2+Hvrgn5umvO3rLcFK+PlOOZcIok 8W8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=iVqiC/A95VZhto1K5ar1HnJyoM1VCmo6xet88uJFd7E=; b=W+XwMQ8izni7P1FqxPH2XR2ck0HdzEIFEOOve8C4LSSR6G/Cg30TwWGe+/HPPSnr+Z 3NgD3t6QRu/Od7aE4ZsdCexw6JsjaKaby2BZOhPF8HFFFDonzXfzS1n9Wig+13EG54b3 /CewnTzdjfSJhCYUuBPpQwyxaOcxPTFDWCr8x0lmNlyRnrsVbmVIcJDmyaSjNaT4TmPf b4R8axv/pVtlNYRx+Rz0TTjUGFn4X/OZ0JoGT4NigB7SYrzBUus6fsAoKhyx9wES7cg4 /W/73Hm2ehULrFWRsfhgCVSeVU+EYlNTELq1N3dnbqesnibQfQSD8/rNRdgZOqO9vIBs FsHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VBHUCbVB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12-v6si3601203plp.225.2018.05.11.10.04.41; Fri, 11 May 2018 10:04:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@ti.com header.s=ti-com-17Q1 header.b=VBHUCbVB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752033AbeEKREj (ORCPT + 29 others); Fri, 11 May 2018 13:04:39 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:22881 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751787AbeEKRDm (ORCPT ); Fri, 11 May 2018 13:03:42 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4BH3OPc025199; Fri, 11 May 2018 12:03:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526058204; bh=iVqiC/A95VZhto1K5ar1HnJyoM1VCmo6xet88uJFd7E=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VBHUCbVB7iCC+1wC+LkNVP45CTY1LwzQdo3khG6qUWEkreLlEUvdmQmW6/pJcgk9L xsi66a6hnSjae83m+azW/CF1MgRP5kQtCPnU7CSqRsByLN5yWvowFC1shxxEiM8iJX LQzsa+OiqA/n2EbXqRoXNgCgHLJ5Y2QRaq5jfKcQ= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BH3OsI008359; Fri, 11 May 2018 12:03:24 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 11 May 2018 12:03:23 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 11 May 2018 12:03:23 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BH3Niw032065; Fri, 11 May 2018 12:03:23 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w4BH3Nx03671; Fri, 11 May 2018 12:03:23 -0500 (CDT) From: Suman Anna To: Bjorn Andersson CC: , , , Suman Anna Subject: [PATCH 1/6] hwspinlock/core: Switch to SPDX license identifier Date: Fri, 11 May 2018 12:03:16 -0500 Message-ID: <20180511170321.2452-2-s-anna@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180511170321.2452-1-s-anna@ti.com> References: <20180511170321.2452-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the appropriate SPDX license identifier in the Hwspinlock core driver source files and drop the previous boilerplate license text. Signed-off-by: Suman Anna --- drivers/hwspinlock/Kconfig | 1 + drivers/hwspinlock/hwspinlock_core.c | 10 +--------- drivers/hwspinlock/hwspinlock_internal.h | 10 +--------- include/linux/hwspinlock.h | 10 +--------- 4 files changed, 4 insertions(+), 27 deletions(-) -- 2.17.0 diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index f0f467983960..e895d29500ee 100644 --- a/drivers/hwspinlock/Kconfig +++ b/drivers/hwspinlock/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 # # Generic HWSPINLOCK framework # diff --git a/drivers/hwspinlock/hwspinlock_core.c b/drivers/hwspinlock/hwspinlock_core.c index 4074441444fe..a41bc79aaa15 100644 --- a/drivers/hwspinlock/hwspinlock_core.c +++ b/drivers/hwspinlock/hwspinlock_core.c @@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Hardware spinlock framework * * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com * * Contact: Ohad Ben-Cohen - * - * 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. */ #define pr_fmt(fmt) "%s: " fmt, __func__ diff --git a/drivers/hwspinlock/hwspinlock_internal.h b/drivers/hwspinlock/hwspinlock_internal.h index d26f78b8f214..9eb6bd020dc7 100644 --- a/drivers/hwspinlock/hwspinlock_internal.h +++ b/drivers/hwspinlock/hwspinlock_internal.h @@ -1,18 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Hardware spinlocks internal header * * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com * * Contact: Ohad Ben-Cohen - * - * 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. */ #ifndef __HWSPINLOCK_HWSPINLOCK_H diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h index 859d673d98c8..cd6cd7fbd3c9 100644 --- a/include/linux/hwspinlock.h +++ b/include/linux/hwspinlock.h @@ -1,18 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Hardware spinlock public header * * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com * * Contact: Ohad Ben-Cohen - * - * 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. */ #ifndef __LINUX_HWSPINLOCK_H