diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-10-07 15:47:16 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-10-07 15:49:24 +0200 |
commit | 590062f479312aecc0eb88900cdc4983a7cc56f5 (patch) | |
tree | c0e7e03748773bdb67f9301dd9e57bdbd71e5156 | |
parent | rtc: add a timestamp for year 0 (diff) | |
download | linux-590062f479312aecc0eb88900cdc4983a7cc56f5.tar.xz linux-590062f479312aecc0eb88900cdc4983a7cc56f5.zip |
rtc: ds1347: remove verbose messages
Printing debugging (and opaque) information is not useful and only clutters
the boot log. Remove those messages.
Link: https://lore.kernel.org/r/20191007134724.15505-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | drivers/rtc/rtc-ds1347.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c index d392a7bfdd1c..ab5533c7f99d 100644 --- a/drivers/rtc/rtc-ds1347.c +++ b/drivers/rtc/rtc-ds1347.c @@ -141,13 +141,6 @@ static int ds1347_probe(struct spi_device *spi) data = data & 0x1B; regmap_write(map, DS1347_STATUS_REG, data); - /* display the settings */ - regmap_read(map, DS1347_CONTROL_REG, &data); - dev_info(&spi->dev, "DS1347 RTC CTRL Reg = 0x%02x\n", data); - - regmap_read(map, DS1347_STATUS_REG, &data); - dev_info(&spi->dev, "DS1347 RTC Status Reg = 0x%02x\n", data); - rtc = devm_rtc_device_register(&spi->dev, "ds1347", &ds1347_rtc_ops, THIS_MODULE); |