mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
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: Vaibhav Gupta <vaibhavgupta40@gmail.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
a8be80053e
commit
e8897acb89
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user