]> 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)
commitac1e72404ba6c90e8b788e4aa34e70aa0b4d45d2
treeb052907a8e934b0670ef753cca5b8aeb22810c33
parentfb659c6a3012b6062a952624d97d37cf8868ac8a
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