From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934141AbcLTJgS (ORCPT ); Tue, 20 Dec 2016 04:36:18 -0500 Received: from terminus.zytor.com ([198.137.202.10]:41702 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934103AbcLTJgP (ORCPT ); Tue, 20 Dec 2016 04:36:15 -0500 Date: Tue, 20 Dec 2016 01:35:42 -0800 From: tip-bot for Linus Walleij Message-ID: Cc: dmitry.torokhov@gmail.com, peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org, jic23@kernel.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, hpa@zytor.com, andriy.shevchenko@linux.intel.com, torvalds@linux-foundation.org Reply-To: andriy.shevchenko@linux.intel.com, torvalds@linux-foundation.org, linus.walleij@linaro.org, hpa@zytor.com, mingo@kernel.org, jic23@kernel.org, linux-kernel@vger.kernel.org, peterz@infradead.org, dmitry.torokhov@gmail.com, tglx@linutronix.de In-Reply-To: <1481722794-4348-1-git-send-email-linus.walleij@linaro.org> References: <1481722794-4348-1-git-send-email-linus.walleij@linaro.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/platform/intel-mid: Switch MPU3050 driver to IIO Git-Commit-ID: 634b847b6d232f861abd5a03a1f75677f541b156 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 634b847b6d232f861abd5a03a1f75677f541b156 Gitweb: http://git.kernel.org/tip/634b847b6d232f861abd5a03a1f75677f541b156 Author: Linus Walleij AuthorDate: Wed, 14 Dec 2016 14:39:54 +0100 Committer: Ingo Molnar CommitDate: Tue, 20 Dec 2016 09:37:15 +0100 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: 3904b28efb2c ("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 Acked-by: Andy Shevchenko Cc: Dmitry Torokhov Cc: Jonathan Cameron Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1481722794-4348-1-git-send-email-linus.walleij@linaro.org Signed-off-by: Ingo Molnar --- arch/x86/platform/intel-mid/device_libs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/intel-mid/device_libs/Makefile b/arch/x86/platform/intel-mid/device_libs/Makefile index dd6cfa4..61b5ed2 100644 --- a/arch/x86/platform/intel-mid/device_libs/Makefile +++ b/arch/x86/platform/intel-mid/device_libs/Makefile @@ -19,7 +19,7 @@ obj-$(subst m,y,$(CONFIG_SPI_SPIDEV)) += platform_spidev.o # I2C Devices obj-$(subst m,y,$(CONFIG_SENSORS_EMC1403)) += platform_emc1403.o obj-$(subst m,y,$(CONFIG_SENSORS_LIS3LV02D)) += platform_lis331.o -obj-$(subst m,y,$(CONFIG_INPUT_MPU3050)) += platform_mpu3050.o +obj-$(subst m,y,$(CONFIG_MPU3050_I2C)) += platform_mpu3050.o obj-$(subst m,y,$(CONFIG_INPUT_BMA150)) += platform_bma023.o obj-$(subst m,y,$(CONFIG_DRM_MEDFIELD)) += platform_tc35876x.o # I2C GPIO Expanders