diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-10-02 11:17:19 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-11-08 14:12:27 +0100 |
commit | f97cfddc886bc8f9d4302447f8773239bed854c1 (patch) | |
tree | 7a616bc4375f23432347448790baa4a6ead0fdf3 /net/ethernet | |
parent | 24417829936d82b03b156e0d036c3b8f25aa93fd (diff) |
rtc: pcf2127: fix reading uninitialized value on RTC_READ_VL ioctl
The flag reported on the RTC_READ_VL ioctl is only initialized when the
date is read out. So the voltage low value doesn't represent reality but
the status at the time the date was read (or 0 if the date was not read
yet).
Moreover when userspace requests a value via an ioctl there is no added
benefit to also make a prosa representation of this (and other) values
appear in the kernel log so remove the calls to dev_info and the driver
data members to track their state.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions