Lines Matching refs:pdev
40 static int thermal_mmio_probe(struct platform_device *pdev)
43 int (*sensor_init_func)(struct platform_device *pdev,
49 sensor = devm_kzalloc(&pdev->dev, sizeof(*sensor), GFP_KERNEL);
53 sensor->mmio_base = devm_platform_get_and_ioremap_resource(pdev, 0, NULL);
57 sensor_init_func = device_get_match_data(&pdev->dev);
59 ret = sensor_init_func(pdev, sensor);
61 dev_err(&pdev->dev,
68 thermal_zone = devm_thermal_of_zone_register(&pdev->dev,
73 dev_err(&pdev->dev,
80 dev_info(&pdev->dev,
82 pdev->name, temperature);
87 static int al_thermal_init(struct platform_device *pdev,