diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-04-29 23:44:03 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-04-29 23:51:18 +0200 |
commit | 4d0185e67806a233c423c1668e87e137fbda192c (patch) | |
tree | ebc6f85836ddd38e37336360643e43dcc83f485b /drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c | |
parent | rtc: omap: use rtc_write to access OMAP_RTC_OSC_REG (diff) | |
download | linux-4d0185e67806a233c423c1668e87e137fbda192c.tar.xz linux-4d0185e67806a233c423c1668e87e137fbda192c.zip |
rtc: sysfs: check features instead of ops
Test RTC_FEATURE_ALARM instead of relying on .set_alarm to know whether
alarms are available.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210429214403.2610952-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c')
0 files changed, 0 insertions, 0 deletions