From: Wei Yongjun yongjun_...@trendmicro.com.cn
free_irq() in the error handling case is missing when change
pass input device directly to interrupt.
Fixes: b27f8fee4965('Input: pmic8xxx-pwrkey - pass input device directly to
interrupt')
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
From: Wei Yongjun yongjun_...@trendmicro.com.cn
The error code was not set if unable to set config, so the error
condition wasn't reflected in the return value. Fix to return a
negative error code from the error handling case instead of 0.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Add missing i2c_set_clientdata() in mpu3050_probe(), otherwise
calling i2c_get_clientdata() in mpu3050_remove() returns NULL.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/input/misc/mpu3050.c | 1 +
1 file changed, 1
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Add missing i2c_set_clientdata() in mma8450_probe(), otherwise
calling i2c_get_clientdata() in mma8450_remove() returns NULL.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/input/misc/mma8450.c | 2 ++
1 file changed, 2
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Remove useless NULL test from cyttsp4_watchdog_timer().
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
v1 - v2: remove NULL test instead.
(was: Input: cyttsp4 - fix potential NULL pointer dereference in
cyttsp4_watchdog_timer
From: Wei Yongjun yongjun_...@trendmicro.com.cn
The dereference should be moved below the NULL test.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/input/touchscreen/cyttsp4_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Fix to return a negative error code from the urb submit error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/input/tablet/wacom_sys.c | 3 ++-
1 file changed, 2
From: Wei Yongjun yongjun_...@trendmicro.com.cn
module_hid_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/hid/hid-xinmo.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
From: Wei Yongjun yongjun_...@trendmicro.com.cn
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/input/serio/olpc_apsp.c | 4 +---
1 file changed, 1
From: Wei Yongjun yongjun_...@trendmicro.com.cn
module_hid_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/hid/hid-holtek-mouse.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
From: Wei Yongjun yongjun_...@trendmicro.com.cn
module_hid_driver() makes the code simpler by eliminating
boilerplate code..
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/hid/hid-steelseries.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
From: Wei Yongjun yongjun_...@trendmicro.com.cn
Use the module_i2c_driver() macro to make the code smaller
and a bit simpler.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
drivers/staging
12 matches
Mail list logo