Searched refs:mockdev (Results 1 – 2 of 2) sorted by relevance
589 if (!chip || !gdev->mockdev) { in gpiod_export()767 gdev->mockdev = dev; in gpiochip_sysfs_register()779 if (!gdev->mockdev) in gpiochip_sysfs_unregister()782 device_unregister(gdev->mockdev); in gpiochip_sysfs_unregister()785 gdev->mockdev = NULL; in gpiochip_sysfs_unregister()813 if (gdev->mockdev) in gpiolib_sysfs_init()
60 struct device *mockdev; member