示例#1
0
static int sysmon_test_release(struct inode *inode, struct file *file)
{
	hsic_sysmon_close(HSIC_SYSMON_DEV_EXT_MODEM);
	return 0;
}
static int hsic_sysmon_char_release(struct inode *inode, struct file *file)
{
	pr_info("release device");
	hsic_sysmon_close(HSIC_SYSMON_DEV_EXT_MODEM);
	return 0;
}
static int sysmon_test_release(struct inode *inode, struct file *file)
{
	hsic_sysmon_close((enum hsic_sysmon_device_id)inode->i_private);
	return 0;
}