Searched refs:to_nd_device_driver (Results 1 – 2 of 2) sorted by relevance
82 struct nd_device_driver *nd_drv = to_nd_device_driver(dev->driver); in nvdimm_bus_probe()110 struct nd_device_driver *nd_drv = to_nd_device_driver(dev->driver); in nvdimm_bus_remove()128 nd_drv = to_nd_device_driver(dev->driver); in nvdimm_bus_shutdown()143 nd_drv = to_nd_device_driver(dev->driver); in nd_device_notify()473 const struct nd_device_driver *nd_drv = to_nd_device_driver(drv); in nvdimm_bus_match()
87 #define to_nd_device_driver(__drv) container_of_const(__drv, struct nd_device_driver, drv) macro