Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff606677 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

Move lis3lv02d drivers to drivers/misc



The lis3lv02d drivers aren't hardware monitoring drivers, so the don't
belong to drivers/hwmon. Move them to drivers/misc, short of a better
home.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
Acked-by: default avatarEric Piel <eric.piel@tremplin-utc.net>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Tested-by: default avatarEric Piel <eric.piel@tremplin-utc.net>
Tested-by: default avatarTakashi Iwai <tiwai@suse.de>
parent efcfed9b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3913,8 +3913,8 @@ S: Supported
LIS3LV02D ACCELEROMETER DRIVER
M:	Eric Piel <eric.piel@tremplin-utc.net>
S:	Maintained
F:	Documentation/hwmon/lis3lv02d
F:	drivers/hwmon/lis3lv02d.*
F:	Documentation/misc-devices/lis3lv02d
F:	drivers/misc/lis3lv02d/

LLC (802.2)
M:	Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
+0 −40
Original line number Diff line number Diff line
@@ -2,12 +2,6 @@
# Hardware monitoring chip drivers configuration
#

config SENSORS_LIS3LV02D
	tristate
	depends on INPUT
	select INPUT_POLLDEV
	default n

menuconfig HWMON
	tristate "Hardware Monitoring support"
	depends on HAS_IOMEM
@@ -1221,40 +1215,6 @@ config SENSORS_ULTRA45
	  This driver provides support for the Ultra45 workstation environmental
	  sensors.

config SENSORS_LIS3_SPI
	tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (SPI)"
	depends on !ACPI && SPI_MASTER && INPUT
	select SENSORS_LIS3LV02D
	default n
	help
	  This driver provides support for the LIS3LV02Dx accelerometer connected
	  via SPI. The accelerometer data is readable via
	  /sys/devices/platform/lis3lv02d.

	  This driver also provides an absolute input class device, allowing
	  the laptop to act as a pinball machine-esque joystick.

	  This driver can also be built as modules.  If so, the core module
	  will be called lis3lv02d and a specific module for the SPI transport
	  is called lis3lv02d_spi.

config SENSORS_LIS3_I2C
	tristate "STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C)"
	depends on I2C && INPUT
	select SENSORS_LIS3LV02D
	default n
	help
	  This driver provides support for the LIS3LV02Dx accelerometer connected
	  via I2C. The accelerometer data is readable via
	  /sys/devices/platform/lis3lv02d.

	  This driver also provides an absolute input class device, allowing
	  the device to act as a pinball machine-esque joystick.

	  This driver can also be built as modules.  If so, the core module
	  will be called lis3lv02d and a specific module for the I2C transport
	  is called lis3lv02d_i2c.

config SENSORS_APPLESMC
	tristate "Apple SMC (Motion sensor, light sensor, keyboard backlight)"
	depends on INPUT && X86
+0 −5
Original line number Diff line number Diff line
@@ -5,9 +5,6 @@
obj-$(CONFIG_HWMON)		+= hwmon.o
obj-$(CONFIG_HWMON_VID)		+= hwmon-vid.o

# Helper drivers
obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o

# APCI drivers
obj-$(CONFIG_SENSORS_ATK0110)	+= asus_atk0110.o

@@ -66,8 +63,6 @@ obj-$(CONFIG_SENSORS_JZ4740) += jz4740-hwmon.o
obj-$(CONFIG_SENSORS_K8TEMP)	+= k8temp.o
obj-$(CONFIG_SENSORS_K10TEMP)	+= k10temp.o
obj-$(CONFIG_SENSORS_LINEAGE)	+= lineage-pem.o
obj-$(CONFIG_SENSORS_LIS3_SPI)	+= lis3lv02d_spi.o
obj-$(CONFIG_SENSORS_LIS3_I2C)	+= lis3lv02d_i2c.o
obj-$(CONFIG_SENSORS_LM63)	+= lm63.o
obj-$(CONFIG_SENSORS_LM70)	+= lm70.o
obj-$(CONFIG_SENSORS_LM73)	+= lm73.o
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,14 @@
# Misc strange devices
#

# This one has to live outside of the MISC_DEVICES conditional,
# because it may be selected by drivers/platform/x86/hp_accel.
config SENSORS_LIS3LV02D
	tristate
	depends on INPUT
	select INPUT_POLLDEV
	default n

menuconfig MISC_DEVICES
	bool "Misc devices"
	---help---
@@ -462,5 +470,6 @@ source "drivers/misc/eeprom/Kconfig"
source "drivers/misc/cb710/Kconfig"
source "drivers/misc/iwmc3200top/Kconfig"
source "drivers/misc/ti-st/Kconfig"
source "drivers/misc/lis3lv02d/Kconfig"

endif # MISC_DEVICES
Loading