diff options
| author | Rodrigo Gobbi <rodrigo.gobbi.7@gmail.com> | 2025-11-02 19:30:18 -0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-11-09 14:56:27 +0000 |
| commit | 02f86101e430cce9a99a044b483c4ed5b91bb3b8 (patch) | |
| tree | bcd31a009e9105d6c2fe5108ce8732bb32096d19 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 698dcf54282a221588281b2e1e6107707cc61f37 (diff) | |
iio: imu: bmi270: fix dev_err_probe error msg
The bmi270 can be connected to I2C or a SPI interface. If it is a SPI,
during probe, if devm_regmap_init() fails, it should print the "spi"
term rather "i2c".
Fixes: 92cc50a00574 ("iio: imu: bmi270: Add spi driver for bmi270 imu")
Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
