Searched refs:sdrv (Results 1 – 3 of 3) sorted by relevance
152 #define spmi_driver_register(sdrv) \ argument153 __spmi_driver_register(sdrv, THIS_MODULE)154 int __spmi_driver_register(struct spmi_driver *sdrv, struct module *owner);160 static inline void spmi_driver_unregister(struct spmi_driver *sdrv) in spmi_driver_unregister() argument162 if (sdrv) in spmi_driver_unregister()163 driver_unregister(&sdrv->driver); in spmi_driver_unregister()
213 #define serdev_device_driver_register(sdrv) \ argument214 __serdev_device_driver_register(sdrv, THIS_MODULE)220 static inline void serdev_device_driver_unregister(struct serdev_device_driver *sdrv) in serdev_device_driver_unregister() argument222 if (sdrv) in serdev_device_driver_unregister()223 driver_unregister(&sdrv->driver); in serdev_device_driver_unregister()
303 extern int __spi_register_driver(struct module *owner, struct spi_driver *sdrv);310 static inline void spi_unregister_driver(struct spi_driver *sdrv) in spi_unregister_driver() argument312 if (sdrv) in spi_unregister_driver()313 driver_unregister(&sdrv->driver); in spi_unregister_driver()