summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-10-02 12:17:19 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-11-08 16:12:27 +0300
commitf97cfddc886bc8f9d4302447f8773239bed854c1 (patch)
tree7a616bc4375f23432347448790baa4a6ead0fdf3 /Documentation
parent24417829936d82b03b156e0d036c3b8f25aa93fd (diff)
downloadlinux-f97cfddc886bc8f9d4302447f8773239bed854c1.tar.xz
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 'Documentation')
0 files changed, 0 insertions, 0 deletions