Skip to content

Commit dddc66f

Browse files
Wolfram SangJean Delvare
authored andcommitted
i2c/chips: Move ds1682 to drivers/misc
As i2c/chips is deprecated, move ds1682 to a more apropriate location. Build tested. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Jean Delvare <khali@linux-fr.org>
1 parent 6ec22f9 commit dddc66f

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎drivers/i2c/chips/Kconfig‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66

77
menu "Miscellaneous I2C Chip support"
88

9-
config DS1682
10-
tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
11-
depends on EXPERIMENTAL
12-
help
13-
If you say yes here you get support for Dallas Semiconductor
14-
DS1682 Total Elapsed Time Recorder.
15-
16-
This driver can also be built as a module. If so, the module
17-
will be called ds1682.
18-
199
config SENSORS_TSL2550
2010
tristate "Taos TSL2550 ambient light sensor"
2111
depends on EXPERIMENTAL

‎drivers/i2c/chips/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# * I/O expander drivers go to drivers/gpio
1111
#
1212

13-
obj-$(CONFIG_DS1682) += ds1682.o
1413
obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
1514

1615
ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)

‎drivers/misc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,16 @@ config EP93XX_PWM
246246
To compile this driver as a module, choose M here: the module will
247247
be called ep93xx_pwm.
248248

249+
config DS1682
250+
tristate "Dallas DS1682 Total Elapsed Time Recorder with Alarm"
251+
depends on I2C && EXPERIMENTAL
252+
help
253+
If you say yes here you get support for Dallas Semiconductor
254+
DS1682 Total Elapsed Time Recorder.
255+
256+
This driver can also be built as a module. If so, the module
257+
will be called ds1682.
258+
249259
source "drivers/misc/c2port/Kconfig"
250260
source "drivers/misc/eeprom/Kconfig"
251261
source "drivers/misc/cb710/Kconfig"

‎drivers/misc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ obj-$(CONFIG_SGI_GRU) += sgi-gru/
2020
obj-$(CONFIG_HP_ILO) += hpilo.o
2121
obj-$(CONFIG_ISL29003) += isl29003.o
2222
obj-$(CONFIG_EP93XX_PWM) += ep93xx_pwm.o
23+
obj-$(CONFIG_DS1682) += ds1682.o
2324
obj-$(CONFIG_C2PORT) += c2port/
2425
obj-y += eeprom/
2526
obj-y += cb710/

0 commit comments

Comments
 (0)