Searched refs:mockdev (Results 1 – 2 of 2) sorted by relevance
603 if (!chip || !gdev->mockdev) { in gpiod_export()781 gdev->mockdev = dev; in gpiochip_sysfs_register()793 if (!gdev->mockdev) in gpiochip_sysfs_unregister()796 device_unregister(gdev->mockdev); in gpiochip_sysfs_unregister()800 gdev->mockdev = NULL; in gpiochip_sysfs_unregister()829 if (gdev->mockdev) in gpiolib_sysfs_init()
50 struct device *mockdev; member