OSDN Git Service

iio: pressure: bmp280: Allow device to be enumerated from ACPI
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Dec 2019 18:28:05 +0000 (20:28 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:10 +0000 (15:20 +0000)
commitae9685992cd542b7881ff1d64a4bfd7ba509c3bb
tree2aabb16b847157dc9af9d5f842fb4d9ec9860aac
parentab2ecec63320f8de5e0b15be6b427312e2e59f24
iio: pressure: bmp280: Allow device to be enumerated from ACPI

There is no need to limit the driver use by OF/platform code.
In this case we simple remove redundant OF parts from the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/bmp280-i2c.c