zephyr/drivers/sensor
Tomasz Bursztyka 98d9b01322 device: Apply driver_api/data attributes rename everywhere
Via coccinelle:

@r_device_driver_api_and_data_1@
struct device *D;
@@
(
D->
-	driver_api
+	api
|
D->
-	driver_data
+	data
)

@r_device_driver_api_and_data_2@
expression E;
@@
(
net_if_get_device(E)->
-	driver_api
+	api
|
net_if_get_device(E)->
-	driver_data
+	data
)

And grep/sed rules for macros:

git grep -rlz 'dev)->driver_data' |
	xargs -0 sed -i 's/dev)->driver_data/dev)->data/g'

git grep -rlz 'dev->driver_data' |
	xargs -0 sed -i 's/dev->driver_data/dev->data/g'

git grep -rlz 'device->driver_data' |
	xargs -0 sed -i 's/device->driver_data/device->data/g'

Fixes #27397

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-08-11 19:30:53 +02:00
..
adt7420 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adxl345 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adxl362 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adxl372 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ak8975 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
amg88xx device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ams_iAQcore device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
apds9960 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bma280 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bmc150_magn device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bme280 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bme680 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bmg160 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bmi160 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bmm150 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bq274xx device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ccs811 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dht device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dps310 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ens210 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
fxas21002 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
fxos8700 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
grove device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
hmc5883l device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
hp206c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
hts221 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
iis2dh device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
iis2dlpc device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
iis2mdc device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
iis3dhhc device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
isl29035 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ism330dhcx device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lis2dh device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lis2ds12 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lis2dw12 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lis2mdl device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lis3mdl device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lps22hb device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lps22hh device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lps25hb device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lsm6ds0 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lsm6dsl device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lsm6dso device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lsm9ds0_gyro device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lsm9ds0_mfd device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lsm303dlhc_magn device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
max17055 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
max30101 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
max44009 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
mchp_tach_xec device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
mcp9808 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
mpr device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
mpu6050 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ms5607 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ms5837 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
nrf5 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
nxp_kinetis_temp device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
opt3001 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pms7003 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
qdec_nrfx zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sht3xd device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
si7006 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
si7055 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
si7060 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
stts751 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
sx9500 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
th02 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ti_hdc device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
tmp007 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
tmp112 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
tmp116 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
vl53l0x device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
wsen_itds device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
CMakeLists.txt sensor: Add Silabs SI7055 support 2020-08-05 14:50:52 -05:00
Kconfig sensor: Add Silabs SI7055 support 2020-08-05 14:50:52 -05:00
sensor_handlers.c drivers: sensor: add api function for getting a sensor attribute 2020-06-17 17:13:14 +02:00
sensor_shell.c sensor: shell: Show the error code when reading fails 2020-07-23 12:12:09 -04:00
shell_battery.c sensor: shell: Add a 'battery' command 2020-07-23 12:12:09 -04:00