Searched refs:to_spmi_driver (Results 1 – 2 of 2) sorted by relevance
327 const struct spmi_driver *sdrv = to_spmi_driver(dev->driver); in spmi_drv_probe()350 const struct spmi_driver *sdrv = to_spmi_driver(dev->driver); in spmi_drv_remove()364 const struct spmi_driver *sdrv = to_spmi_driver(dev->driver); in spmi_drv_shutdown()
147 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver() function