Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp273037pxk; Sun, 30 Aug 2020 02:49:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykNZxfgCiooZiYKcuvtINXpECAU/RTIdkTENDFBlV+khajRtOSIziae26uVr4q41H0le27 X-Received: by 2002:a17:906:3b91:: with SMTP id u17mr6823395ejf.305.1598780984416; Sun, 30 Aug 2020 02:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598780984; cv=none; d=google.com; s=arc-20160816; b=CwCCyqeS9Idr0sFZY8foi/wACKtoDZgaM2HCwniUR93UwSMPoxnGFK1tB/90fzR97U jpLq077b57MLqLib5Cy1YxFVfVL01Eg1yhqgFdRyKaxHYRNQpRWymK2lgBPWz3SD1p7K CNZOQIawTrwdRkD7261QEybxfDMJWmTXqFLNoEYD9hX0UDTqDYy063D3jDyu8huGIgGd 3e2a51L8VggoukSZFGZ3aPtsm1hCRkJu8N+IF5ss7/R8qAsb/wI/+snq0lg7XYlXKcET mEY2HhC5h/KcrKBN5ko1zPvS0oUNrPBdqBDJU49tmCM9XeWw3UWXHT1Gp3dNILq+0WqX V5vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JD/yNeyHUsDvJLMZBjT/sYWFLZpY6ahAJFA2kbTEKrw=; b=YYTi5bq5fkD10Mong1Vi7l8KENmjXuG80KJspSPGE2GGb+i78maBNJxyen+ceZjYGW b6GSFlIMxJ5Phl8nv/ATtquPNbXQqD9kahyVmoBbAy0BL9CSG10OIIDj9ABCyaG4rY02 /8pDUHCm8Au1Ih3mRTPkRPgF+npDEjKMnVTBqFAMkmS5wV6xFW03kB7p1oYy4UvXNzjZ 0Ca3DfnFam/bmnEhEqbFCnoz/bUxn69gYdywJlqGPJYZvVdls1ELo9i6VF2x2iSwFnTc ZDw1lk4euP2kmneWY0cJlkRn6+9ziuHEfG+TUqj5vitQns2R/lCIvtFgZVLFpUnLfXe0 yvvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CxOYH1Tf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si2983762edq.337.2020.08.30.02.49.19; Sun, 30 Aug 2020 02:49:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CxOYH1Tf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728707AbgH3Jsq (ORCPT + 99 others); Sun, 30 Aug 2020 05:48:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726264AbgH3Jso (ORCPT ); Sun, 30 Aug 2020 05:48:44 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B543C061573; Sun, 30 Aug 2020 02:48:44 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id h12so2652318pgm.7; Sun, 30 Aug 2020 02:48:44 -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 :mime-version:content-transfer-encoding; bh=JD/yNeyHUsDvJLMZBjT/sYWFLZpY6ahAJFA2kbTEKrw=; b=CxOYH1Tf2XZZ7ozhzxcZedMl6ZFeem+ArJRljp/K7NlzSMhFQcB/ID5mJPmpTnwcoK x42ftohGFpizC38lPudDUe6v74VoQ7U8/ziZLV9rmODALgdml/Xz8xDKf/nDRP2QrCaC vY4bU2KMLw13Fpsw1/3H/VoEhyQREDY+rnlVMFikHk7pwFKHy4ZHSM+xa6FrztIHfS8R 4dU3XAg2Dnsts5Ben9qF4fosT/ryvaF4jzWD2ESJCxSDYhFXaVtb+vgPDkW21ekTQDxz mhtZKzchHCegYPaX/La1qObSySyBs5+Gx0CnqZN3aGyyAi6Oq1Jp2ud3v8HhibhZUCdi T3JQ== 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:mime-version:content-transfer-encoding; bh=JD/yNeyHUsDvJLMZBjT/sYWFLZpY6ahAJFA2kbTEKrw=; b=W9HQ9ocnplTA0pajrU55vXmraoOUO71MRza2ZgcvDXceALdV8kZ1Q74LQNxn9W7bI8 4/2e78ZFvGo9xq6S/T/c9/dknQZj/Pz7kT7fyXPZV0pGHCTIlz3Jdhz4SkzyG5Q7CFMW 3NxELZpVSai2JwAQ+DxuQOGyc/4NNTefR9TVtVyxQzQRASMExDfja9t6dvZjtxMIpv44 qDZ0mNY1kKvYw8CBsbwyYyYrfPQ3XbG+set2Fk5kFe+hMiGhBg3EuK7u2J2z3o/8hgUs 3TPsPnN+xCJew6nbnxcrGXAw99gTVzLprZaJWpulII981NjPhwClnC2hItgG6jQVDvFe 0SSQ== X-Gm-Message-State: AOAM533El2rYfQDMbHA86lLeF6I+Upa39NPwTChD1n3HC5qkC5pN/WqF fmKovMVRcJ/kEIlf5DOHV6U= X-Received: by 2002:a63:c543:: with SMTP id g3mr4820264pgd.203.1598780922842; Sun, 30 Aug 2020 02:48:42 -0700 (PDT) Received: from varodek.localdomain ([223.190.108.199]) by smtp.gmail.com with ESMTPSA id f13sm4597019pfd.215.2020.08.30.02.48.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Aug 2020 02:48:42 -0700 (PDT) From: Vaibhav Gupta To: Sean Young , Bjorn Helgaas , Bjorn Helgaas , Bjorn Helgaas , Vaibhav Gupta , Mauro Carvalho Chehab , Sergey Kozlov , Abylay Ospan , Hans Verkuil Cc: Vaibhav Gupta , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan Subject: [PATCH v2] netup_unidvb: drop initialization of PM pointers Date: Sun, 30 Aug 2020 15:14:14 +0530 Message-Id: <20200830094413.43816-1-vaibhavgupta40@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200830081004.GA17376@gofer.mess.org> References: <20200830081004.GA17376@gofer.mess.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The .suspend() and .resume() callbacks are not defined for this driver. Thus, just the unlisting of PM pointers in the struct initializer will make no change in its behavior. Still unlisting is necessary so as to get rid of .suspend and .resume pointers as they are part of the legacy framework and should not be used in the driver code explicitly. Signed-off-by: Vaibhav Gupta --- drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/pci/netup_unidvb/netup_unidvb_core.c b/drivers/media/pci/netup_unidvb/netup_unidvb_core.c index 80a7c41baa90..6f3125c2d097 100644 --- a/drivers/media/pci/netup_unidvb/netup_unidvb_core.c +++ b/drivers/media/pci/netup_unidvb/netup_unidvb_core.c @@ -1016,8 +1016,6 @@ static struct pci_driver netup_unidvb_pci_driver = { .id_table = netup_unidvb_pci_tbl, .probe = netup_unidvb_initdev, .remove = netup_unidvb_finidev, - .suspend = NULL, - .resume = NULL, }; module_pci_driver(netup_unidvb_pci_driver); -- 2.28.0