mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-27 08:14:35 +08:00
7008f35c4a
It's not correct to use artificial device created by IIO core to retrieve device properties. Even ->get_default_reg() callback takes a simple struct device pointer which suggests it wants to operate on the real device. Correct this by replacing pointer to IIO device by a real device pointer in the caller of ->get_default_reg(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Link: https://lore.kernel.org/r/20220615114746.2767-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> |
||
---|---|---|
.. | ||
as3935.c | ||
cros_ec_mkbp_proximity.c | ||
isl29501.c | ||
Kconfig | ||
Makefile | ||
mb1232.c | ||
ping.c | ||
pulsedlight-lidar-lite-v2.c | ||
rfd77402.c | ||
srf04.c | ||
srf08.c | ||
sx9310.c | ||
sx9324.c | ||
sx9360.c | ||
sx9500.c | ||
sx_common.c | ||
sx_common.h | ||
vcnl3020.c | ||
vl53l0x-i2c.c |