You need to sign in or sign up before continuing.
提交 e8897acb 编写于 作者: V Vaibhav Gupta 提交者: Mauro Carvalho Chehab

media: netup_unidvb: drop initialization of PM pointers

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: NVaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: NSean Young <sean@mess.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
上级 a8be8005
...@@ -1016,8 +1016,6 @@ static struct pci_driver netup_unidvb_pci_driver = { ...@@ -1016,8 +1016,6 @@ static struct pci_driver netup_unidvb_pci_driver = {
.id_table = netup_unidvb_pci_tbl, .id_table = netup_unidvb_pci_tbl,
.probe = netup_unidvb_initdev, .probe = netup_unidvb_initdev,
.remove = netup_unidvb_finidev, .remove = netup_unidvb_finidev,
.suspend = NULL,
.resume = NULL,
}; };
module_pci_driver(netup_unidvb_pci_driver); module_pci_driver(netup_unidvb_pci_driver);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册