diff options
Diffstat (limited to 'sys/dev/i2c/pcf8563.c')
-rw-r--r-- | sys/dev/i2c/pcf8563.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/dev/i2c/pcf8563.c b/sys/dev/i2c/pcf8563.c index 1b78492f055..95f2dfe0365 100644 --- a/sys/dev/i2c/pcf8563.c +++ b/sys/dev/i2c/pcf8563.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcf8563.c,v 1.3 2021/01/13 11:01:19 kettenis Exp $ */ +/* $OpenBSD: pcf8563.c,v 1.4 2021/04/24 10:15:15 mpi Exp $ */ /* * Copyright (c) 2005 Kimihiro Nonaka @@ -96,8 +96,6 @@ int pcxrtc_clock_read(struct pcxrtc_softc *, struct clock_ymdhms *); int pcxrtc_clock_write(struct pcxrtc_softc *, struct clock_ymdhms *); int pcxrtc_gettime(struct todr_chip_handle *, struct timeval *); int pcxrtc_settime(struct todr_chip_handle *, struct timeval *); -int pcxrtc_getcal(struct todr_chip_handle *, int *); -int pcxrtc_setcal(struct todr_chip_handle *, int); int pcxrtc_match(struct device *parent, void *v, void *arg) @@ -123,8 +121,6 @@ pcxrtc_attach(struct device *parent, struct device *self, void *arg) sc->sc_todr.cookie = sc; sc->sc_todr.todr_gettime = pcxrtc_gettime; sc->sc_todr.todr_settime = pcxrtc_settime; - sc->sc_todr.todr_getcal = pcxrtc_getcal; - sc->sc_todr.todr_setcal = pcxrtc_setcal; sc->sc_todr.todr_setwen = NULL; #if 0 @@ -175,18 +171,6 @@ pcxrtc_settime(struct todr_chip_handle *ch, struct timeval *tv) return (0); } -int -pcxrtc_setcal(struct todr_chip_handle *ch, int cal) -{ - return (EOPNOTSUPP); -} - -int -pcxrtc_getcal(struct todr_chip_handle *ch, int *cal) -{ - return (EOPNOTSUPP); -} - uint8_t pcxrtc_reg_read(struct pcxrtc_softc *sc, int reg) { |