Searched refs:mockdev (Results 1 – 2 of 2) sorted by relevance
605 if (!gdev->mockdev) { in gpiod_export()783 gdev->mockdev = dev; in gpiochip_sysfs_register()795 if (!gdev->mockdev) in gpiochip_sysfs_unregister()798 device_unregister(gdev->mockdev); in gpiochip_sysfs_unregister()801 gdev->mockdev = NULL; in gpiochip_sysfs_unregister()827 if (gdev->mockdev) in gpiofind_sysfs_register()
61 struct device *mockdev; member