Skip to content
Commit 84cfd706 authored by Miguel Gazquez's avatar Miguel Gazquez Committed by Fabio Baltieri
Browse files

drivers: sensor: lsm9ds1: use consistent variable name data



In both lsm9ds1 and lsm9ds1_mag drivers, the device data structure is
generally referenced with the variable name data.
However, in the initialization functions, the variable was named
lsm9ds1 (or lsm9ds1_mag for the magnetometer), which breaks this
convention.

Rename these variables to data for consistency across the driver.

Signed-off-by: default avatarMiguel Gazquez <miguel.gazquez@bootlin.com>
parent 6ce58d4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment