Home
last modified time | relevance | path

Searched refs:sdrv (Results 1 – 3 of 3) sorted by relevance

/include/linux/
Dspmi.h152 #define spmi_driver_register(sdrv) \ argument
153 __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() argument
162 if (sdrv) in spmi_driver_unregister()
163 driver_unregister(&sdrv->driver); in spmi_driver_unregister()
Dserdev.h213 #define serdev_device_driver_register(sdrv) \ argument
214 __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() argument
222 if (sdrv) in serdev_device_driver_unregister()
223 driver_unregister(&sdrv->driver); in serdev_device_driver_unregister()
/include/linux/spi/
Dspi.h303 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() argument
312 if (sdrv) in spi_unregister_driver()
313 driver_unregister(&sdrv->driver); in spi_unregister_driver()