Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5662248pxb; Mon, 28 Mar 2022 15:40:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7sYHDraB33d3EZVVdhcCrJL7lqOmmcF5w0nuKFWMpsyF0v92Cx8Di45S7uWnEd0S2X1m3 X-Received: by 2002:a17:90b:3b81:b0:1c6:f22c:60f3 with SMTP id pc1-20020a17090b3b8100b001c6f22c60f3mr1330217pjb.109.1648507231953; Mon, 28 Mar 2022 15:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648507231; cv=none; d=google.com; s=arc-20160816; b=yVITKVvsNbQrm3Q1zOEk7P0WcdRuIt6bnCqPP5csRuQA7jczjXPczQ+uZYy3yzODy8 Z8neydN3VcEu+big8A3m4vWgrSNsOwJlVXvWyS+dF1a7Z3+W1mUGktS8gvUUfA+DGi66 jUo1yClVH8QW99JSezBDwatOBkZRPPxqcbafF1BkYl2GnC7A3Zwx+RKXpJtaIznjjvcs sSevjkbwvYXo9Cek+qPhoRrS1qFe+I6RFYpuwzP/n3z2ZS/zRViyJhbuNSzq0QYRkIIA SoZajzG1uDp0Z1Q5SbuRDEMfu4jKLPczc67l6em0qAP03anaC72RQXN95Ej5SviwwdwF n2EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=XXgpWmUIX7Rts0l0Loi58k1vzjugZDk40ZFlcXM4uPA=; b=D3j9NTn+OGBLMj3w3mqRewqZ+oZhCvsVQGXFB+rb53IYkCE4IdJYDL5AFnrLDzJl9l ZaA9BbFiMed49ryqaQ+LY/8e1qn4H0bKj8W4uOmy4XqlHQn12Ub8RhKaQ/E7uNuysJFr RpvG1pZ2LZtzT0XMJmLVOXLRxkGj6tP0PnvqWS05Rs8Vml7Q7+pl+Zf/K4dxIl1l+ESJ gcstagnl6bpZjezsLmNHg8xAzEIU605xfjQ+2alVzDURN+4hnA9vYU9zrZInYMwubU1B BpIpbKeHl1aeKP+Gqnqlx+p1ssqaV4sRazRI8zZQlY86FsCPWYXUl8sr0buuZ8IlVqay bmTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=DlZulTcI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k20-20020a17090aaa1400b001c6363b0c53si839987pjq.117.2022.03.28.15.40.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:40:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=DlZulTcI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 47BA2211EC7; Mon, 28 Mar 2022 14:48:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346167AbiC1UsU (ORCPT + 99 others); Mon, 28 Mar 2022 16:48:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345668AbiC1Un0 (ORCPT ); Mon, 28 Mar 2022 16:43:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49B9166AE0; Mon, 28 Mar 2022 13:41:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CD5D8614D3; Mon, 28 Mar 2022 20:41:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E2BFC3411F; Mon, 28 Mar 2022 20:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648500103; bh=hTy+qzETzi69PC0L01ikNmjGWuzUbT7kNwTJl3UyFeI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DlZulTcIO7yvJWxGwnOCQgiRoCjvTwjGh932UNyzMtdvX3xhyKwSdQBrD87TMMS0r gOjAnpu+NdP9fhjM2duwn/Bkxo+qIxOpPn1Mv7rrLAZANY12fki7fWlBJjamyOkLGu 9NIyFgfJkqZUqjiAm6q2mV/WfEMERgojG3rmJbuQSEsA1gDtvqz8eIBvOFDb/LLmHa ZzUVC1QUI/stIWyM6oOnegkzZ8Qq78pdTRCgXFQEeWLnLeTDOzvj6SEJgOjUzeONjI 8B/r3I1i6cGqw3kYXBEmKCWCV44krKn109UjlBlskrI9JZ0IWfwSBoC+v5E6MXdVJ9 4kbh/DZ5rYQpg== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nYwBI-000ld2-Qu; Mon, 28 Mar 2022 22:41:40 +0200 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 19/26] media: technisat-usb2: use the newer dvb-usb macros for USB device Date: Mon, 28 Mar 2022 22:41:31 +0200 Message-Id: X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to make the drivers under dvb-usb more homogeneous, use the new macro. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 00/26] at: https://lore.kernel.org/all/cover.1648499509.git.mchehab@kernel.org/ drivers/media/usb/dvb-usb/technisat-usb2.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/dvb-usb/technisat-usb2.c b/drivers/media/usb/dvb-usb/technisat-usb2.c index a9ed26ce1be6..9c77911fcad4 100644 --- a/drivers/media/usb/dvb-usb/technisat-usb2.c +++ b/drivers/media/usb/dvb-usb/technisat-usb2.c @@ -689,10 +689,15 @@ static int technisat_usb2_rc_query(struct dvb_usb_device *d) } /* DVB-USB and USB stuff follows */ +enum { + TECHNISAT_USB2_DVB_S2, +}; + static struct usb_device_id technisat_usb2_id_table[] = { - { USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_DVB_S2) }, - { 0 } /* Terminating entry */ + DVB_USB_DEV(TECHNISAT, TECHNISAT_USB2_DVB_S2), + { } }; + MODULE_DEVICE_TABLE(usb, technisat_usb2_id_table); /* device description */ @@ -738,7 +743,7 @@ static struct dvb_usb_device_properties technisat_usb2_devices = { .num_device_descs = 1, .devices = { { "Technisat SkyStar USB HD (DVB-S/S2)", - { &technisat_usb2_id_table[0], NULL }, + { &technisat_usb2_id_table[TECHNISAT_USB2_DVB_S2], NULL }, { NULL }, }, }, -- 2.35.1