From patchwork Thu Apr 12 21:14:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10339259 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C872460329 for ; Thu, 12 Apr 2018 21:15:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B40B7284F1 for ; Thu, 12 Apr 2018 21:15:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8A4D284F9; Thu, 12 Apr 2018 21:15:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD724284F1 for ; Thu, 12 Apr 2018 21:15:44 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 953502673F0; Thu, 12 Apr 2018 23:15:36 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4FE842673A6; Thu, 12 Apr 2018 23:15:31 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30138.outbound.protection.outlook.com [40.107.3.138]) by alsa0.perex.cz (Postfix) with ESMTP id C1F54266F69 for ; Thu, 12 Apr 2018 23:15:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ndl6/tslI6hMu/IXoDpO0lj1wdgglJjlqcH9nYyQ03s=; b=nHHS7NBB5D+2VTlDu6b4iYJDVeFfdX+LqLKL047L8xV2rD7VPQz375ql8ETK4yCr04wkhOw2hDZ21vuNdA+64VqmewAwFY+bC/QLynV4ykcdfPpJCM+odzbQ9JHCAwkEhIRitushHZhgMPbHaMgi6Ac/RooEZSv0CLCD19tfDjM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.9; Thu, 12 Apr 2018 21:15:21 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Date: Thu, 12 Apr 2018 23:14:35 +0200 Message-Id: <20180412211437.21599-4-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180412211437.21599-1-peda@axentia.se> References: <20180412161601.GI9929@sirena.org.uk> <20180412211437.21599-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR02CA0105.eurprd02.prod.outlook.com (2603:10a6:7:29::34) To AM4PR0202MB2770.eurprd02.prod.outlook.com (2603:10a6:200:8c::20) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(2017052603328)(7153060)(7193020); SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 3:+pW3+L4L2cLcfFPpCqu9Nfmt7DtxhsYMR8Ykf2EAeKXX3PD5yA9EVppFAxclChZm70kD5ybU9y6muZY1JNP7GzraLzpd7AZMwpVoLIe1MuTcVDctrwf3/HTJEJcywZENj6xlkF/32HVWcLVoTlfx/ugv8en/63t86jMwGvGfBceXLfHjURRhY/AiQ3xgaHFcvqhdiAr7C7FGGp4rxLXXP3ilIJDMan9QlX3ZAY/geDF+fnnDMp8TWNegcfhMLhgT; 25:uf/lfXPChWehbXbrqELBlsZ1edMH5vpG+GCGGX0Pm76kYqhYmIBt4Dbw4pF0ZllvLfdU4HvZNi0ywMrV1zgZ6gsJ+XTAy7BhqlJqoRIjwiWdkas+mpaKnUhlQOj26Evb37ph/MADOSnl+eqw5WCqYjDn/kdoYIsg0+bywAQSX2Iqinl/wi30UkwPD2K5Ngs0RotkifeNnO1t42dStYHvwWy2u4WmnHVHhCil9EGlRfnW+3CfW/l+6Is89XjzxJsgIhgyy4VRJQRt3X0oCu/moKh2qw0LGCn4hqoCnlWk+veLV3ASdRU+hnNqlWFkT7PcPlHD5cV4kjKKZ6zYpinQ9A==; 31:X7LFWTt20GqdN8GuXvVqz49raTVCn6Q7wrsWpffrgOUI88koO8iskIec6lvHBmub4qtZr5tMLX+W9c1ypMsYDZC4zQYLRxn/T2D11MnoD86ktJqPE7uz/b1X8NWcmwYG+QKB65uqI2vcDpltjTUmysM192QYra+g34M/RzaRn3yzDe9zzFZNJAgx83RyGt0EUM+Q+o92Jf0+QqF54FXLKZXokD5oU0weYlmp9KJjeEM= X-MS-TrafficTypeDiagnostic: AM4PR0202MB2770: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231232)(944501327)(52105095)(10201501046)(93006095)(93001095)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(2016111802025)(6072148)(6043046)(201708071742011); SRVR:AM4PR0202MB2770; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0202MB2770; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 4:gGJz70pT4mssi9NgCGHBRR6sT8L/7IPNx/dFGVoGXjWeE/a0ElL2uW2Y7wDbG+cbrFELbUIqXQokut/rNS/LsIyevGsLXtnv9UlhXl9UREtZXAkcuSu+N23iFXFyEyZQOaNJWlmz14RE6V+ASKjNeBQW2kxnc+0juyARSdTJFFfcF5BSPkoun+UvxAqo1y/ZtQNXhvYUwPhq6Zt8LCQu+qtGLfLXsdMGGrl0mTMRGr9jOKhhUhRyTvfRgbuosxU5Bm+FYOB3s6OU/eyX6UoL+w== X-Forefront-PRVS: 06400060E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39380400002)(346002)(39830400003)(376002)(189003)(199004)(97736004)(6916009)(2361001)(36756003)(2351001)(68736007)(6512007)(66066001)(86362001)(11346002)(2616005)(2906002)(6116002)(7736002)(6666003)(47776003)(478600001)(1076002)(476003)(486006)(956004)(446003)(26005)(54906003)(3846002)(4326008)(8936002)(25786009)(6486002)(51416003)(39060400002)(186003)(316002)(386003)(53936002)(105586002)(74482002)(16526019)(16586007)(76176011)(106356001)(6506007)(50466002)(81166006)(5660300001)(52116002)(305945005)(81156014)(8676002)(50226002)(48376002)(2004002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0202MB2770; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0202MB2770; 23:t2wwr4I79OfiKtXGyTJ09DnJKnsoRnOB7oZW/0U?= =?us-ascii?Q?ygNF+1LygsCfIErHkLlG/V7dvNypeq12jjt6dboiOc9Fohe3clYqSWbJzptg?= =?us-ascii?Q?6ySviJEP/3W8Zo2qfLDteKeTVPeGGGqkytjFgZ7PZk8oH3MT9OgsCAeuogyg?= =?us-ascii?Q?tjKnDs7qSdlwlhEYq33tl2aK5m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FbrS8vZXX80kxPIT/tA88J/C5zZyzftIJrA/cIN2iZEqblbBwp370ENj0NrOhEcrIAsBDGcGAwClkGy2WOAc73sk55IYJVlivGUeJqN2+lHHrVLziYAUXBOpCjt/oFfhh8PmUGzubRrdAPgB9LqA4S/7CWVmEG5CQtgIWEbGv3o=; 24:2O6JTfOZ4SJPyoWZqNA9zcy6IBgOXHvnatr9GaRhcf7u3sGVWwqRIvyduC65rn7CVieUHiBJHoBrH4nVv4BheXhdjdHAxKmYKahqE0tiYSk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2770; 7:BTYDBKwFaBPRD0VwKmCaOECj33yxhQiOsWSrsybDbzpRp4tk/tb9R+gbiNZ/NA1B+UNDwCx/4AhdT7MRlzrDQ69hY9qrrylOGjLGR9EeLX1dT3jc61X8ABp8+JFfoyfu3RoJ7I05S4Qglm4czAJz6G+4eLTQt0qDzgx2SlWECq2IBsvpd4b+J45ShWn4KM3iFDP9UZ98TrOYd91mw9FR3Ugxjb7G6/zVRfFj6QN3crfkkTIKZYvIoJDQCABrnndL X-MS-Office365-Filtering-Correlation-Id: eaaa0e84-ee02-4ac3-9184-08d5a0ba8038 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2018 21:15:21.3501 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eaaa0e84-ee02-4ac3-9184-08d5a0ba8038 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0202MB2770 Cc: alsa-devel@alsa-project.org, Liam Girdwood , Takashi Iwai , Mark Brown , Peter Rosin Subject: [alsa-devel] [PATCH v2 3/5] ASoC: max9860: switch to SPDX license tag X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP It's less overhead, clearer and generally neater. Signed-off-by: Peter Rosin --- sound/soc/codecs/max9860.c | 10 +--------- sound/soc/codecs/max9860.h | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/sound/soc/codecs/max9860.c b/sound/soc/codecs/max9860.c index 53448b7b7b28..21c70cd5dcf6 100644 --- a/sound/soc/codecs/max9860.c +++ b/sound/soc/codecs/max9860.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Driver for the MAX9860 Mono Audio Voice Codec * @@ -8,15 +9,6 @@ * * Author: Peter Rosin * Copyright 2016 Axentia Technologies - * - * 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 diff --git a/sound/soc/codecs/max9860.h b/sound/soc/codecs/max9860.h index 22041bd67a7d..e07b905eaf50 100644 --- a/sound/soc/codecs/max9860.h +++ b/sound/soc/codecs/max9860.h @@ -1,17 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Driver for the MAX9860 Mono Audio Voice Codec * * Author: Peter Rosin * Copyright 2016 Axentia Technologies - * - * 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 _SND_SOC_MAX9860