in hwspinlock_core.c [559:568]
static int devm_hwspin_lock_device_match(struct device *dev, void *res, void *data) { struct hwspinlock_device **bank = res; if (WARN_ON(!bank || !*bank)) return 0; return *bank == data; }