Home
last modified time | relevance | path

Searched refs:custom_pdev (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/hid/
Dhid-sensor-custom.c55 struct platform_device *custom_pdev; member
848 struct platform_device *custom_pdev; in hid_sensor_register_platform_device() local
864 custom_pdev = platform_device_register_data(pdev->dev.parent, dev_name, in hid_sensor_register_platform_device()
868 return custom_pdev; in hid_sensor_register_platform_device()
893 sensor_inst->custom_pdev = in hid_sensor_custom_probe()
896 ret = PTR_ERR_OR_ZERO(sensor_inst->custom_pdev); in hid_sensor_custom_probe()
944 if (sensor_inst->custom_pdev) { in hid_sensor_custom_remove()
945 platform_device_unregister(sensor_inst->custom_pdev); in hid_sensor_custom_remove()