static int acx565akm_spi_remove(struct spi_device *spi)
{
	struct acx565akm_device *md = dev_get_drvdata(&spi->dev);

	dev_dbg(&md->spi->dev, "%s\n", __func__);

	sysfs_remove_group(&md->bl_dev->dev.kobj, &bldev_attr_group);
	backlight_device_unregister(md->bl_dev);
	omap_dss_unregister_panel(&acx565akm_panel);

	kfree(md);

	return 0;
}
示例#2
0
static int nevada_spi_remove(struct spi_device *spi)
{
	struct nevada_device *md = dev_get_drvdata(&spi->dev);
	struct backlight_device *dev = md->bl_dev;

	DBG("nevada_spi_remove\n");

	backlight_device_unregister(dev);
	omap_dss_unregister_panel(&nevada_panel);

	/*nevada_disable(&md->panel);*/
	kfree(md);

	return 0;
}
示例#3
0
static void __exit sharp_ls_panel_drv_exit(void)
{
	omap_dss_unregister_panel(&sharp_ls_panel);
}
示例#4
0
static void __exit generic_panel_drv_exit(void)
{
	omap_dss_unregister_panel(&generic_panel);
}
示例#5
0
static void __exit panel_drv_exit(void)
{
	omap_dss_unregister_panel(&samsung_panel);
        spi_unregister_driver(&hx5091_driver);
}