Lines Matching refs:sony_pf_device
573 static struct platform_device *sony_pf_device; variable
587 sony_pf_device = platform_device_alloc("sony-laptop", PLATFORM_DEVID_NONE); in sony_pf_add()
588 if (!sony_pf_device) { in sony_pf_add()
593 ret = platform_device_add(sony_pf_device); in sony_pf_add()
600 platform_device_put(sony_pf_device); in sony_pf_add()
601 sony_pf_device = NULL; in sony_pf_add()
615 platform_device_unregister(sony_pf_device); in sony_pf_remove()
3199 result = sony_nc_handles_setup(sony_pf_device); in sony_nc_add()
3201 sony_nc_function_setup(device, sony_pf_device); in sony_nc_add()
3237 device_create_file(&sony_pf_device->dev, in sony_nc_add()
3249 device_remove_file(&sony_pf_device->dev, &item->devattr); in sony_nc_add()
3252 sony_nc_function_cleanup(sony_pf_device); in sony_nc_add()
3253 sony_nc_handles_cleanup(sony_pf_device); in sony_nc_add()
3275 device_remove_file(&sony_pf_device->dev, &item->devattr); in sony_nc_remove()
3278 sony_nc_function_cleanup(sony_pf_device); in sony_nc_remove()
3279 sony_nc_handles_cleanup(sony_pf_device); in sony_nc_remove()
4655 sysfs_remove_group(&sony_pf_device->dev.kobj, &spic_attribute_group); in sony_pic_remove()
4774 result = sysfs_create_group(&sony_pf_device->dev.kobj, &spic_attribute_group); in sony_pic_add()