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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel