From patchwork Tue Jun 19 18:50:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10475241 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 5D137601D7 for ; Tue, 19 Jun 2018 18:50:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D09928B1D for ; Tue, 19 Jun 2018 18:50:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 419E128B66; Tue, 19 Jun 2018 18:50:38 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9BC228B1D for ; Tue, 19 Jun 2018 18:50:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030584AbeFSSuf (ORCPT ); Tue, 19 Jun 2018 14:50:35 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:37750 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030495AbeFSSuY (ORCPT ); Tue, 19 Jun 2018 14:50:24 -0400 Received: by mail-wr0-f195.google.com with SMTP id d8-v6so702755wro.4 for ; Tue, 19 Jun 2018 11:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Yx2UxbTp3739qFvxJ64LeElJpkJ4eqaGbT8RShVAO20=; b=W+n5rZlLF6eqy0yXGySobD/hkq3tR6+NOYFIvtSqNFVCgOoDkCQiwh2fa3yzk/B+xo VgInejhqS4rNHGZWideOC+YWXCxGvOElX9dTS7CKD54Wx0hB/XLEZmftC3VKipdeIFBd DkZoVkQRaIPWIOXoouOeXwJy+05+q5Jt0t+NGDKsZpOOOHJ4sVHA0J9j9TkrIQlbwueN S4A4L2TQDm2favc560KbmrKq8Feqtr2V509GL5UBJFuLyOkSjxR2VgU38FiVLcJQBuRk OVQ7WCVNHCiIzKsYZussNt7Us7eSCCfLtq0x+48xDFTiCUnB3myUoCoCIDEIqaZC4Pqs ZL7g== 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:in-reply-to :references; bh=Yx2UxbTp3739qFvxJ64LeElJpkJ4eqaGbT8RShVAO20=; b=LC9lFIG44wcRssQb1XPXI5///uJ227Qb+ktAf4dIeqpi8xzKn3JOGDQOBbmNNECISv fbFm6naolyems7dihzYUkGerBvYxWrrhFm2jPrlZWNpMe/rDIQTOICwoiCpJBuHVzkTn lWighOY/f+ATDJ9vf9FT0KKqEWamXJu+A2I2R5e9p7AC0OlViRE31GsAk4dfjabYVr8V tJXEgTUo4240YB4iayaIwg2v1lVNNFIvlPq4hs3+rGCk7ymrEhYsNRosR+ySnSZCk0fh E6iL75zJsl/tM8WyxJXPtmLbqSoriZBsu7/F4XikUM/FF0TtKPqkViMFRe/g6aql1TZM 5TPQ== X-Gm-Message-State: APt69E1sVYkCHZJ8YBEPXb00UtrCEHp546g/mbx7hXi8kbGG18ELLbKQ h3IghJZdcyvcuEllKwT7It0= X-Google-Smtp-Source: ADUXVKLP2tS9FLkCfr5f6Eh96eMKH9P3wiVGBXU9Xaah1INMPl2cOzKIJzPmYpH2a0BcqFOvvCjzfQ== X-Received: by 2002:adf:efcf:: with SMTP id i15-v6mr16160156wrp.195.1529434223177; Tue, 19 Jun 2018 11:50:23 -0700 (PDT) Received: from dvbdev.wuest.de (ip-176-199-71-134.hsi06.unitymediagroup.de. [176.199.71.134]) by smtp.gmail.com with ESMTPSA id b15-v6sm803227wri.14.2018.06.19.11.50.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 11:50:22 -0700 (PDT) From: Daniel Scheller To: mchehab@kernel.org, mchehab@s-opensource.com, rjkm@metzlerbros.de, mvoelkel@DigitalDevices.de Cc: linux-media@vger.kernel.org Subject: [PATCH v3 4/9] [media] dvb-frontends/mxl5xx: cleanup and fix licensing boilerplates Date: Tue, 19 Jun 2018 20:50:11 +0200 Message-Id: <20180619185016.24402-5-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180619185016.24402-1-d.scheller.oss@gmail.com> References: <20180619185016.24402-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller mxl5xx.h doesn't carry any licensing boilerplate at all right now, so copy the boilerplate over from the main driver file mxl5xx.c. Also, mxl5xx_defs is missing a part of the licensing boilerplate text, so add it. While at it, fix up some minor whitespace and blank line issues. Cc: Ralph Metzler Cc: Manfred Voelkel Signed-off-by: Daniel Scheller --- drivers/media/dvb-frontends/mxl5xx.c | 3 +-- drivers/media/dvb-frontends/mxl5xx.h | 21 +++++++++++++++++++++ drivers/media/dvb-frontends/mxl5xx_defs.h | 5 +++++ drivers/media/dvb-frontends/mxl5xx_regs.h | 3 +-- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c index 1067701bdd06..323fd73d6e1e 100644 --- a/drivers/media/dvb-frontends/mxl5xx.c +++ b/drivers/media/dvb-frontends/mxl5xx.c @@ -15,9 +15,8 @@ * * 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 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * */ #include diff --git a/drivers/media/dvb-frontends/mxl5xx.h b/drivers/media/dvb-frontends/mxl5xx.h index ad4c21846800..2ee821b15693 100644 --- a/drivers/media/dvb-frontends/mxl5xx.h +++ b/drivers/media/dvb-frontends/mxl5xx.h @@ -1,3 +1,24 @@ +/* + * Driver for the MaxLinear MxL5xx family of tuners/demods + * + * Copyright (C) 2014-2015 Ralph Metzler + * Marcus Metzler + * developed for Digital Devices GmbH + * + * based on code: + * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved + * which was released under GPL V2 + * + * 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 _MXL5XX_H_ #define _MXL5XX_H_ diff --git a/drivers/media/dvb-frontends/mxl5xx_defs.h b/drivers/media/dvb-frontends/mxl5xx_defs.h index fd9e61e0188f..fd5c0f5b27ba 100644 --- a/drivers/media/dvb-frontends/mxl5xx_defs.h +++ b/drivers/media/dvb-frontends/mxl5xx_defs.h @@ -10,6 +10,11 @@ * 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. */ enum MXL_BOOL_E { diff --git a/drivers/media/dvb-frontends/mxl5xx_regs.h b/drivers/media/dvb-frontends/mxl5xx_regs.h index 5001dafe1ba8..dacc1fdf4c7b 100644 --- a/drivers/media/dvb-frontends/mxl5xx_regs.h +++ b/drivers/media/dvb-frontends/mxl5xx_regs.h @@ -9,11 +9,10 @@ * * 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. + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * This program may alternatively be licensed under a proprietary license from * MaxLinear, Inc. - * */ #ifndef __MXL58X_REGISTERS_H__