rtc: hid-sensor-time: stop selecting IIO
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 13 Feb 2019 13:38:33 +0000 (14:38 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 17 Feb 2019 20:29:10 +0000 (21:29 +0100)
Make RTC_DRV_HID_SENSOR_TIME depend on IIO and HID_SENSOR_HUB to remove
possible circular dependencies as this is the only symbol selecting those.

Suggested-by: Florian Lohoff <f@zz.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index a08785a..5d155ce 100644 (file)
@@ -1835,8 +1835,7 @@ comment "HID Sensor RTC drivers"
 config RTC_DRV_HID_SENSOR_TIME
        tristate "HID Sensor Time"
        depends on USB_HID
-       select IIO
-       select HID_SENSOR_HUB
+       depends on HID_SENSOR_HUB && IIO
        select HID_SENSOR_IIO_COMMON
        help
          Say yes here to build support for the HID Sensors of type Time.