Lines Matching refs:sony_pf_device
545 static struct platform_device *sony_pf_device;
559 sony_pf_device = platform_device_alloc("sony-laptop", -1);
560 if (!sony_pf_device) {
565 ret = platform_device_add(sony_pf_device);
572 platform_device_put(sony_pf_device);
573 sony_pf_device = NULL;
587 platform_device_unregister(sony_pf_device);
1725 result = sony_nc_handles_setup(sony_pf_device);
1728 result = sony_nc_kbd_backlight_setup(sony_pf_device);
1780 device_create_file(&sony_pf_device->dev,
1791 device_remove_file(&sony_pf_device->dev, &item->devattr);
1798 sony_nc_kbd_backlight_cleanup(sony_pf_device);
1801 sony_nc_handles_cleanup(sony_pf_device);
1820 device_remove_file(&sony_pf_device->dev, &item->devattr);
1823 sony_nc_kbd_backlight_cleanup(sony_pf_device);
1824 sony_nc_handles_cleanup(sony_pf_device);
3197 sysfs_remove_group(&sony_pf_device->dev.kobj, &spic_attribute_group);
3317 result = sysfs_create_group(&sony_pf_device->dev.kobj, &spic_attribute_group);