Searched refs:custom_pdev (Results 1 – 1 of 1) sorted by relevance
55 struct platform_device *custom_pdev; member848 struct platform_device *custom_pdev; in hid_sensor_register_platform_device() local864 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()