Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwmon/
Dsch56xx-common.c75 static struct platform_device *sch56xx_pdev; variable
536 sch56xx_pdev = platform_device_alloc(name, address); in sch56xx_device_add()
537 if (!sch56xx_pdev) in sch56xx_device_add()
540 res.name = sch56xx_pdev->name; in sch56xx_device_add()
545 err = platform_device_add_resources(sch56xx_pdev, &res, 1); in sch56xx_device_add()
551 err = platform_device_add(sch56xx_pdev); in sch56xx_device_add()
560 platform_device_put(sch56xx_pdev); in sch56xx_device_add()
581 platform_device_unregister(sch56xx_pdev); in sch56xx_exit()