The commits happen per device instead of per backend. The pending state is therefore per device as well. Allow to retrieve the device from the pending state. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>