Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwmon/
H A 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()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dsch56xx-common.c62 static struct platform_device *sch56xx_pdev; variable
516 sch56xx_pdev = platform_device_register_simple(name, -1, &res, 1); in sch56xx_device_add()
518 return PTR_ERR_OR_ZERO(sch56xx_pdev); in sch56xx_device_add()
537 platform_device_unregister(sch56xx_pdev); in sch56xx_exit()

Completed in 3 milliseconds