Lines Matching refs:sony_pf_device
586 static struct platform_device *sony_pf_device; variable
600 sony_pf_device = platform_device_alloc("sony-laptop", -1); in sony_pf_add()
601 if (!sony_pf_device) { in sony_pf_add()
606 ret = platform_device_add(sony_pf_device); in sony_pf_add()
613 platform_device_put(sony_pf_device); in sony_pf_add()
614 sony_pf_device = NULL; in sony_pf_add()
628 platform_device_unregister(sony_pf_device); in sony_pf_remove()
3196 result = sony_nc_handles_setup(sony_pf_device); in sony_nc_add()
3198 sony_nc_function_setup(device, sony_pf_device); in sony_nc_add()
3238 device_create_file(&sony_pf_device->dev, in sony_nc_add()
3250 device_remove_file(&sony_pf_device->dev, &item->devattr); in sony_nc_add()
3253 sony_nc_function_cleanup(sony_pf_device); in sony_nc_add()
3254 sony_nc_handles_cleanup(sony_pf_device); in sony_nc_add()
3276 device_remove_file(&sony_pf_device->dev, &item->devattr); in sony_nc_remove()
3279 sony_nc_function_cleanup(sony_pf_device); in sony_nc_remove()
3280 sony_nc_handles_cleanup(sony_pf_device); in sony_nc_remove()
4659 sysfs_remove_group(&sony_pf_device->dev.kobj, &spic_attribute_group); in sony_pic_remove()
4778 result = sysfs_create_group(&sony_pf_device->dev.kobj, &spic_attribute_group); in sony_pic_add()