Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b2941e2 authored by Mike Rapoport's avatar Mike Rapoport Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: remove unused methods from lynx_share



The suspend and resume methods in lynx_share are not implemented and
never set. Remove them.

Signed-off-by: default avatarMike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4edd3f3a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -434,10 +434,6 @@ static int lynxfb_suspend(struct pci_dev *pdev, pm_message_t mesg)
			return ret;
		}

		/* set chip to sleep mode */
		if (share->suspend)
			(*share->suspend)(share);

		pci_disable_device(pdev);
		ret = pci_set_power_state(pdev, pci_choose_state(pdev, mesg));
		if (ret) {
@@ -482,8 +478,6 @@ static int lynxfb_resume(struct pci_dev *pdev)
		}
		pci_set_master(pdev);
	}
	if (share->resume)
		(*share->resume)(share);

	hw_sm750_inithw(share, pdev);

+0 −3
Original line number Diff line number Diff line
@@ -62,9 +62,6 @@ struct lynx_share {
	unsigned char __iomem *pvMem;
	/* locks*/
	spinlock_t slock;
	/* function pointers */
	void (*suspend)(struct lynx_share *);
	void (*resume)(struct lynx_share *);
};

struct lynx_cursor {