]> git.baikalelectronics.ru Git - kernel.git/commit
iio: common: cros_ec_lid_angle: explicitly add proper header files
authorNuno Sá <nuno.sa@analog.com>
Fri, 10 Jun 2022 08:45:22 +0000 (10:45 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Jun 2022 10:53:20 +0000 (11:53 +0100)
commit7d0f5192c06321c5ca56f3e626a0148123c3ec32
treef2b844fdc59e378744453cadb27d3036bb40e56f
parent95dacde25a9a32f67ac313a74c99435c69efc1b1
iio: common: cros_ec_lid_angle: explicitly add proper header files

Do not trust the fact that iio.h includes of.h which in turn includes
all the headers we are relying on.

The ultimate goal is to actually drop of.h from iio.h.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220610084545.547700-12-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c