static int sysmon_test_open(struct inode *inode, struct file *file) { return hsic_sysmon_open(HSIC_SYSMON_DEV_EXT_MODEM); }
static int hsic_sysmon_char_open(struct inode *inode, struct file *file) { pr_info("open device"); return hsic_sysmon_open(HSIC_SYSMON_DEV_EXT_MODEM); }
static int sysmon_test_open(struct inode *inode, struct file *file) { file->private_data = inode->i_private; return hsic_sysmon_open((enum hsic_sysmon_device_id)inode->i_private); }