Home
last modified time | relevance | path

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

/include/linux/
Dspmi.h151 #define spmi_driver_register(sdrv) \ argument
152 __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() argument
161 if (sdrv) in spmi_driver_unregister()
162 driver_unregister(&sdrv->driver); in spmi_driver_unregister()
Dserdev.h225 #define serdev_device_driver_register(sdrv) \ argument
226 __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() argument
234 if (sdrv) in serdev_device_driver_unregister()
235 driver_unregister(&sdrv->driver); in serdev_device_driver_unregister()
/include/linux/spi/
Dspi.h298 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() argument
307 if (sdrv) in spi_unregister_driver()
308 driver_unregister(&sdrv->driver); in spi_unregister_driver()