]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: abx80x: Implement RTC_VL_READ,CLR ioctls
authorMarek Vasut <marex@denx.de>
Fri, 7 Dec 2018 17:40:53 +0000 (18:40 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Dec 2018 21:53:27 +0000 (22:53 +0100)
commit59a562b06ffd86474afa0e3ac37694832ddce0aa
treeb052907a8e934b0670ef753cca5b8aeb22810c33
parentb63995271d33cf935127589a75f1e2e198ea9925
rtc: abx80x: Implement RTC_VL_READ,CLR ioctls

Implement standard ioctls for polling the battery status and clearing
the battery low indication from userspace.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-abx80x.c