]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/video/neofb.c
framebuffer: Use fb_<level>
[mirror_ubuntu-artful-kernel.git] / drivers / video / neofb.c
index 7ef079c146e7242c9edee33cc43bc0cd3c850ce1..5d815f31645c8c79c3908298ec053573cb935837 100644 (file)
@@ -2104,8 +2104,7 @@ static int neofb_probe(struct pci_dev *dev, const struct pci_device_id *id)
        if (err < 0)
                goto err_reg_fb;
 
-       printk(KERN_INFO "fb%d: %s frame buffer device\n",
-              info->node, info->fix.id);
+       fb_info(info, "%s frame buffer device\n", info->fix.id);
 
        /*
         * Our driver data
@@ -2146,12 +2145,6 @@ static void neofb_remove(struct pci_dev *dev)
                fb_destroy_modedb(info->monspecs.modedb);
                neo_unmap_mmio(info);
                neo_free_fb_info(info);
-
-               /*
-                * Ensure that the driver data is no longer
-                * valid.
-                */
-               pci_set_drvdata(dev, NULL);
        }
 }