From: Linus Walleij Date: Thu, 5 Jan 2017 13:54:00 +0000 (+0100) Subject: ARM: defconfig: omap2plus: switch LIS3LV02DL driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f95a51e6149c604de1f1deed3aeb832f531faa9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: defconfig: omap2plus: switch LIS3LV02DL driver The OMAP2 plus defconfig lists the LIS3LC02D MISC driver but there is nowadays a proper IIO driver for this accelerometer. Switch the config to the new driver. The IIO software triggers are helpful when using these devices without a dedicated IRQ line, so activate those too. Signed-off-by: Linus Walleij Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index 195c98b85568..fff43f79852b 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig @@ -137,7 +137,6 @@ CONFIG_BLK_DEV_RAM_SIZE=16384 CONFIG_SENSORS_TSL2550=m CONFIG_SRAM=y CONFIG_EEPROM_AT24=m -CONFIG_SENSORS_LIS3_I2C=m CONFIG_BLK_DEV_SD=y CONFIG_SCSI_SCAN_ASYNC=y CONFIG_ATA=y @@ -426,6 +425,9 @@ CONFIG_EXTCON_PALMAS=m CONFIG_EXTCON_USB_GPIO=m CONFIG_TI_EMIF=m CONFIG_IIO=m +CONFIG_IIO_SW_DEVICE=m +CONFIG_IIO_SW_TRIGGER=m +CONFIG_IIO_ST_ACCEL_3AXIS=m CONFIG_TI_AM335X_ADC=m CONFIG_BMP280=m CONFIG_PWM=y