当前位置: 首页>>代码示例>>C++>>正文


C++ driver_unregister函数代码示例

本文整理汇总了C++中driver_unregister函数的典型用法代码示例。如果您正苦于以下问题:C++ driver_unregister函数的具体用法?C++ driver_unregister怎么用?C++ driver_unregister使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了driver_unregister函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: mcp_driver_unregister

void mcp_driver_unregister(struct mcp_driver *mcpdrv)
{
	driver_unregister(&mcpdrv->drv);
}
开发者ID:romanbb,项目名称:android_kernel_lge_d851,代码行数:4,代码来源:mcp-core.c

示例2: mmc_unregister_driver

/**
 *	mmc_unregister_driver - unregister a media driver
 *	@drv: MMC media driver
 */
void mmc_unregister_driver(struct mmc_driver *drv)
{
	drv->drv.bus = &mmc_bus_type;
	driver_unregister(&drv->drv);
}
开发者ID:Trimblejena,项目名称:HurricaneBSP-linux-fslc-imx-3.14-1.1.x,代码行数:9,代码来源:bus.c

示例3: sa11x0_pcmcia_exit

/* sa11x0_pcmcia_exit()
 * ^^^^^^^^^^^^^^^^^^^^
 * Invokes the low-level kernel service to free IRQs associated with this
 * socket controller and reset GPIO edge detection.
 */
static void __exit sa11x0_pcmcia_exit(void)
{
	driver_unregister(&sa11x0_pcmcia_driver);
}
开发者ID:kzlin129,项目名称:tt-gpl,代码行数:9,代码来源:sa1100_generic.c

示例4: rio_unregister_driver

/**
 *  rio_unregister_driver - unregister a RIO driver
 *  @rdrv: the RIO driver structure to unregister
 *
 *  Deletes the &struct rio_driver from the list of registered RIO
 *  drivers, gives it a chance to clean up by calling its remove()
 *  function for each device it was responsible for, and marks those
 *  devices as driverless.
 */
void rio_unregister_driver(struct rio_driver *rdrv)
{
	driver_unregister(&rdrv->driver);
}
开发者ID:LouZiffer,项目名称:m900_kernel_cupcake-SDX,代码行数:13,代码来源:rio-driver.c

示例5: snd_bebob_exit

static void __exit
snd_bebob_exit(void)
{
	driver_unregister(&bebob_driver.driver);
}
开发者ID:AshishNamdev,项目名称:linux,代码行数:5,代码来源:bebob.c

示例6: ipack_driver_unregister

void ipack_driver_unregister(struct ipack_driver *edrv)
{
	driver_unregister(&edrv->driver);
}
开发者ID:AllenWeb,项目名称:linux,代码行数:4,代码来源:ipack.c

示例7: ohci_hcd_omap_cleanup

static void __exit ohci_hcd_omap_cleanup (void)
{
	driver_unregister(&ohci_hcd_omap_driver);
}
开发者ID:Dronevery,项目名称:JetsonTK1-kernel,代码行数:4,代码来源:ohci-omap.c

示例8: amba_driver_unregister

/**
 *	amba_driver_unregister - remove an AMBA device driver
 *	@drv: AMBA device driver structure to remove
 *
 *	Unregister an AMBA device driver from the Linux device
 *	model.  The device model will call the drivers remove function
 *	for each device the device driver is currently handling.
 */
void amba_driver_unregister(struct amba_driver *drv)
{
	driver_unregister(&drv->drv);
}
开发者ID:Adjustxx,项目名称:Savaged-Zen,代码行数:12,代码来源:bus.c

示例9: phy_driver_unregister

void phy_driver_unregister(struct phy_driver *drv)
{
	driver_unregister(&drv->driver);
}
开发者ID:FatSunHYS,项目名称:OSCourseDesign,代码行数:4,代码来源:phy_device.c

示例10: nvec_unregister_driver

void nvec_unregister_driver(struct nvec_driver *drv)
{
	drv->driver.bus = &nvec_bus_type;
	driver_unregister(&drv->driver);
}
开发者ID:0x0f,项目名称:adam-kernel,代码行数:5,代码来源:nvec_user.c

示例11: pxa2xx_ac97_exit

static void __exit pxa2xx_ac97_exit(void)
{
	driver_unregister(&pxa2xx_ac97_driver);
}
开发者ID:kzlin129,项目名称:tt-gpl,代码行数:4,代码来源:pxa2xx-ac97.c

示例12: vio_unregister_driver

void vio_unregister_driver(struct vio_driver *viodrv)
{
	driver_unregister(&viodrv->driver);
}
开发者ID:openube,项目名称:android_kernel_sony_c2305,代码行数:4,代码来源:vio.c

示例13: ixp4xx_flash_exit

static void __exit ixp4xx_flash_exit(void)
{
	driver_unregister(&ixp4xx_flash_driver);
}
开发者ID:iPodLinux,项目名称:linux-2.6.7-ipod,代码行数:4,代码来源:ixp4xx.c

示例14: omap_dss_unregister_driver

void omap_dss_unregister_driver(struct omap_dss_driver *dssdriver)
{
	driver_unregister(&dssdriver->driver);
}
开发者ID:lchao-bit,项目名称:linaro-kernel,代码行数:4,代码来源:core.c

示例15: fsl_mc_driver_unregister

/**
 * fsl_mc_driver_unregister - unregisters a device driver from the
 * MC bus
 */
void fsl_mc_driver_unregister(struct fsl_mc_driver *mc_driver)
{
	driver_unregister(&mc_driver->driver);
}
开发者ID:020gzh,项目名称:linux,代码行数:8,代码来源:mc-bus.c


注:本文中的driver_unregister函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。