]> git.baikalelectronics.ru Git - kernel.git/commit
x86/platform/intel-mid: Switch MPU3050 driver to IIO
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 14 Dec 2016 13:39:54 +0000 (14:39 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Dec 2016 08:37:15 +0000 (09:37 +0100)
commita7cd95df39320e25848959218c5c2f52d39a1a0d
treeafcf47b89820b56dd5d10b79eb046fd2647bd364
parentff38b364434fac2950f3df4550894fa1d69135c6
x86/platform/intel-mid: Switch MPU3050 driver to IIO

The Intel Mid goes in and creates a I2C device for the
MPU3050 if the input driver for MPU-3050 is activated.

As of commit:

  3a5ad56ba171 ("iio: gyro: Add driver for the MPU-3050 gyroscope")

.. there is a proper and fully featured IIO driver for this
device, so deprecate the use of the incomplete input driver
by augmenting the device population code to react to the
presence of the IIO driver's Kconfig symbol instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1481722794-4348-1-git-send-email-linus.walleij@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/intel-mid/device_libs/Makefile