[PATCH RESEND v4 0/7] staging: sm750fb: refactor lynxfb_pci_probe

Mike Rapoport mike.rapoport at gmail.com
Sun Jan 17 17:59:48 UTC 2016


Hi,

These patches refactor the lynxfb_pci_probe.

v4 changes:
* address Dan's comments

v3 changes:
* rebased on current Greg's staging-testing

v2 changes:
* add pci_disable_device on the cleanup path
* return actual error rather than ENODEV

Mike Rapoport (7):
  staging: sm750fb: disable PCI device if lynxfb_pci_probe fails
  staging: sm750fb: lynxfb_pci_probe: return actual errors
  staging: sm750fb: lynxfb_pci_remove: remove unused variable
  staging: sm750fb: replace dual member of sm750_dev with fb_count
  staging: sm750fb: introduce sm750fb_frambuffer_release
  staging: sm750fb: introduce sm750fb_frambuffer_alloc
  staging: sm750fb: lynxfb_pci_probe: remove some pr_info

 drivers/staging/sm750fb/sm750.c | 183 +++++++++++++++++-----------------------
 drivers/staging/sm750fb/sm750.h |   2 +-
 2 files changed, 80 insertions(+), 105 deletions(-)

-- 
1.9.1



More information about the devel mailing list