Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
060e4b06
K
Kernel
项目概览
openeuler
/
Kernel
2 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
060e4b06
编写于
12月 13, 2022
作者:
J
Jiri Kosina
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-6.2/i2c' into for-linus
- conversion of I2C HID drivers to use new simplified I2C probing (Stephen Kitt)
上级
91e9b021
baf34f3b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
9 deletion
+6
-9
drivers/hid/i2c-hid/i2c-hid-of-elan.c
drivers/hid/i2c-hid/i2c-hid-of-elan.c
+2
-3
drivers/hid/i2c-hid/i2c-hid-of-goodix.c
drivers/hid/i2c-hid/i2c-hid-of-goodix.c
+2
-3
drivers/hid/i2c-hid/i2c-hid-of.c
drivers/hid/i2c-hid/i2c-hid-of.c
+2
-3
未找到文件。
drivers/hid/i2c-hid/i2c-hid-of-elan.c
浏览文件 @
060e4b06
...
@@ -68,8 +68,7 @@ static void elan_i2c_hid_power_down(struct i2chid_ops *ops)
...
@@ -68,8 +68,7 @@ static void elan_i2c_hid_power_down(struct i2chid_ops *ops)
regulator_disable
(
ihid_elan
->
vcc33
);
regulator_disable
(
ihid_elan
->
vcc33
);
}
}
static
int
i2c_hid_of_elan_probe
(
struct
i2c_client
*
client
,
static
int
i2c_hid_of_elan_probe
(
struct
i2c_client
*
client
)
const
struct
i2c_device_id
*
id
)
{
{
struct
i2c_hid_of_elan
*
ihid_elan
;
struct
i2c_hid_of_elan
*
ihid_elan
;
...
@@ -119,7 +118,7 @@ static struct i2c_driver elan_i2c_hid_ts_driver = {
...
@@ -119,7 +118,7 @@ static struct i2c_driver elan_i2c_hid_ts_driver = {
.
probe_type
=
PROBE_PREFER_ASYNCHRONOUS
,
.
probe_type
=
PROBE_PREFER_ASYNCHRONOUS
,
.
of_match_table
=
of_match_ptr
(
elan_i2c_hid_of_match
),
.
of_match_table
=
of_match_ptr
(
elan_i2c_hid_of_match
),
},
},
.
probe
=
i2c_hid_of_elan_probe
,
.
probe
_new
=
i2c_hid_of_elan_probe
,
.
remove
=
i2c_hid_core_remove
,
.
remove
=
i2c_hid_core_remove
,
.
shutdown
=
i2c_hid_core_shutdown
,
.
shutdown
=
i2c_hid_core_shutdown
,
};
};
...
...
drivers/hid/i2c-hid/i2c-hid-of-goodix.c
浏览文件 @
060e4b06
...
@@ -87,8 +87,7 @@ static int ihid_goodix_vdd_notify(struct notifier_block *nb,
...
@@ -87,8 +87,7 @@ static int ihid_goodix_vdd_notify(struct notifier_block *nb,
return
ret
;
return
ret
;
}
}
static
int
i2c_hid_of_goodix_probe
(
struct
i2c_client
*
client
,
static
int
i2c_hid_of_goodix_probe
(
struct
i2c_client
*
client
)
const
struct
i2c_device_id
*
id
)
{
{
struct
i2c_hid_of_goodix
*
ihid_goodix
;
struct
i2c_hid_of_goodix
*
ihid_goodix
;
int
ret
;
int
ret
;
...
@@ -167,7 +166,7 @@ static struct i2c_driver goodix_i2c_hid_ts_driver = {
...
@@ -167,7 +166,7 @@ static struct i2c_driver goodix_i2c_hid_ts_driver = {
.
probe_type
=
PROBE_PREFER_ASYNCHRONOUS
,
.
probe_type
=
PROBE_PREFER_ASYNCHRONOUS
,
.
of_match_table
=
of_match_ptr
(
goodix_i2c_hid_of_match
),
.
of_match_table
=
of_match_ptr
(
goodix_i2c_hid_of_match
),
},
},
.
probe
=
i2c_hid_of_goodix_probe
,
.
probe
_new
=
i2c_hid_of_goodix_probe
,
.
remove
=
i2c_hid_core_remove
,
.
remove
=
i2c_hid_core_remove
,
.
shutdown
=
i2c_hid_core_shutdown
,
.
shutdown
=
i2c_hid_core_shutdown
,
};
};
...
...
drivers/hid/i2c-hid/i2c-hid-of.c
浏览文件 @
060e4b06
...
@@ -66,8 +66,7 @@ static void i2c_hid_of_power_down(struct i2chid_ops *ops)
...
@@ -66,8 +66,7 @@ static void i2c_hid_of_power_down(struct i2chid_ops *ops)
ihid_of
->
supplies
);
ihid_of
->
supplies
);
}
}
static
int
i2c_hid_of_probe
(
struct
i2c_client
*
client
,
static
int
i2c_hid_of_probe
(
struct
i2c_client
*
client
)
const
struct
i2c_device_id
*
dev_id
)
{
{
struct
device
*
dev
=
&
client
->
dev
;
struct
device
*
dev
=
&
client
->
dev
;
struct
i2c_hid_of
*
ihid_of
;
struct
i2c_hid_of
*
ihid_of
;
...
@@ -138,7 +137,7 @@ static struct i2c_driver i2c_hid_of_driver = {
...
@@ -138,7 +137,7 @@ static struct i2c_driver i2c_hid_of_driver = {
.
of_match_table
=
of_match_ptr
(
i2c_hid_of_match
),
.
of_match_table
=
of_match_ptr
(
i2c_hid_of_match
),
},
},
.
probe
=
i2c_hid_of_probe
,
.
probe
_new
=
i2c_hid_of_probe
,
.
remove
=
i2c_hid_core_remove
,
.
remove
=
i2c_hid_core_remove
,
.
shutdown
=
i2c_hid_core_shutdown
,
.
shutdown
=
i2c_hid_core_shutdown
,
.
id_table
=
i2c_hid_of_id_table
,
.
id_table
=
i2c_hid_of_id_table
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录