diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-14 22:54:51 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-17 13:54:22 +0100 |
commit | 7db4f2cacbede1c6d95552c0d10e77398665a733 (patch) | |
tree | 94383e724d0c97850380c3475c864a19361188d0 /drivers/iio/accel/dmard06.c | |
parent | 38934daf7b5c1b35a01748cb7d4272282cc3a890 (diff) |
iio: st_sensors: Call st_sensors_power_enable() from bus drivers
In case we would initialize two IIO devices from one physical device,
we shouldn't have a clash on regulators. That's why move
st_sensors_power_enable() call from core to bus drivers.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210414195454.84183-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel/dmard06.c')
0 files changed, 0 insertions, 0 deletions