Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dsch56xx-common.c62 static struct platform_device *sch56xx_pdev; variable
523 sch56xx_pdev = platform_device_alloc(name, address); in sch56xx_device_add()
524 if (!sch56xx_pdev) in sch56xx_device_add()
527 res.name = sch56xx_pdev->name; in sch56xx_device_add()
532 err = platform_device_add_resources(sch56xx_pdev, &res, 1); in sch56xx_device_add()
538 err = platform_device_add(sch56xx_pdev); in sch56xx_device_add()
547 platform_device_put(sch56xx_pdev); in sch56xx_device_add()
568 platform_device_unregister(sch56xx_pdev); in sch56xx_exit()