Tao Huang
a04ad7f646
input: sensors: make local struct sensor_operate ops static
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ifa014ea6e830d4a312a173de473dda3f05c66ad3
2022-02-08 18:40:15 +08:00
Tao Huang
808bc30143
rk: Replace <asm/uaccess.h> with <linux/uaccess.h> globally
...
According to commit 7c0f6ba682 ("Replace <asm/uaccess.h> with
<linux/uaccess.h> globally").
sed -i "s!#include <asm/uaccess.h> !#include <linux/uaccess.h>!" \
$(git grep -l "#include <asm/uaccess.h> " | grep -v ^include/linux/uaccess.h)
PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
$(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I2110dffd32d855ecc9c403fc75cee950f7abb024
2021-04-09 17:08:07 +08:00
Wang Jie
c8ebec26c7
input: sensor: sensor supports modularity
...
The sensor-dev framework and device drivers depend on each other,
causing sensor initialization to fail. eg:
[ 2.907011] i2c i2c-4: sensor_probe: mpu6500_acc,000000006539f8ba
[ 2.907626] sensors 4-0068: sensor_chip_init:ops is null,sensor name is mpu6500_acc
[ 2.908318] i2c i2c-4: sensor_probe failed -1
Signed-off-by: Wang Jie <dave.wang@rock-chips.com >
Change-Id: Ic1f320a7c40bde0c4e3db3dc43542302d9270f42
2020-09-15 20:40:31 +08:00
Tao Huang
f9eefeeaa7
rk: add SPDX license identifier to files with no license
...
Change-Id: I754250669891307b0deab2bdab1bd01512713f79
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
2018-01-31 20:56:06 +08:00
Huang, Tao
7e8031c929
input: sensors: fromdos and remove trailing whitespace
...
Change-Id: I6799f2538f95953d1565ac805497161ce6043855
Signed-off-by: Huang, Tao <huangtao@rock-chips.com >
2016-11-16 11:32:49 +08:00
guoyi
a1fb7ec11a
fix sensors include file err
2014-03-05 18:14:22 +08:00
luowei
f7d7863e3f
add angle caculation support between two gsensor
2013-09-03 19:34:30 +08:00