Searched refs:sdrv (Results 1 – 3 of 3) sorted by relevance
151 #define spmi_driver_register(sdrv) \ argument152 __spmi_driver_register(sdrv, THIS_MODULE)153 int __spmi_driver_register(struct spmi_driver *sdrv, struct module *owner);159 static inline void spmi_driver_unregister(struct spmi_driver *sdrv) in spmi_driver_unregister() argument161 if (sdrv) in spmi_driver_unregister()162 driver_unregister(&sdrv->driver); in spmi_driver_unregister()
225 #define serdev_device_driver_register(sdrv) \ argument226 __serdev_device_driver_register(sdrv, THIS_MODULE)232 static inline void serdev_device_driver_unregister(struct serdev_device_driver *sdrv) in serdev_device_driver_unregister() argument234 if (sdrv) in serdev_device_driver_unregister()235 driver_unregister(&sdrv->driver); in serdev_device_driver_unregister()
298 extern int __spi_register_driver(struct module *owner, struct spi_driver *sdrv);305 static inline void spi_unregister_driver(struct spi_driver *sdrv) in spi_unregister_driver() argument307 if (sdrv) in spi_unregister_driver()308 driver_unregister(&sdrv->driver); in spi_unregister_driver()