Searched refs:mockdev (Results 1 – 2 of 2) sorted by relevance
575 if (!chip || !gdev->mockdev) { in gpiod_export()753 gdev->mockdev = dev; in gpiochip_sysfs_register()764 if (!gdev->mockdev) in gpiochip_sysfs_unregister()767 device_unregister(gdev->mockdev); in gpiochip_sysfs_unregister()771 gdev->mockdev = NULL; in gpiochip_sysfs_unregister()797 if (gdev->mockdev) in gpiolib_sysfs_init()
57 struct device *mockdev; member