Searched refs:spmi_driver (Results 1 – 4 of 4) sorted by relevance
137 struct spmi_driver { struct143 static inline struct spmi_driver *to_spmi_driver(struct device_driver *d) in to_spmi_driver() argument145 return container_of(d, struct spmi_driver, driver); in to_spmi_driver()150 int __spmi_driver_register(struct spmi_driver *sdrv, struct module *owner);156 static inline void spmi_driver_unregister(struct spmi_driver *sdrv) in spmi_driver_unregister()
325 const struct spmi_driver *sdrv = to_spmi_driver(dev->driver); in spmi_drv_probe()348 const struct spmi_driver *sdrv = to_spmi_driver(dev->driver); in spmi_drv_remove()566 int __spmi_driver_register(struct spmi_driver *sdrv, struct module *owner) in __spmi_driver_register()
140 static struct spmi_driver pmic_spmi_driver = {
331 static struct spmi_driver hi6421_spmi_pmic_driver = {