]> Gentwo Git Trees - linux/.git/commit
iio: imu: bmi270: move private struct declaration to source file
authorGustavo Silva <gustavograzs@gmail.com>
Wed, 19 Feb 2025 23:54:45 +0000 (20:54 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Mar 2025 13:17:51 +0000 (13:17 +0000)
commit4e0bd62e80761a0ead3a0b6ac6520fca1a38d678
tree13f18d0147201c3c3378c983339f362841b2fd0b
parent25331775b5b4ed45efb37c7e25adad2e8abef948
iio: imu: bmi270: move private struct declaration to source file

The device's private data struct is currently declared in the header
file, but it does not need to be exposed there. Move it to the driver's
core source file to avoid unnecessary #include directives or forward
declarations in the header.

Signed-off-by: Gustavo Silva <gustavograzs@gmail.com>
Acked-by: Alex Lanzano <lanzano.alex@gmail.com>
Link: https://patch.msgid.link/20250219-bmi270-irq-v1-1-145d02bbca3b@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/bmi270/bmi270.h
drivers/iio/imu/bmi270/bmi270_core.c