svn commit: r353918 - head/sys/arm/allwinner
Emmanuel Vadot
manu at FreeBSD.org
Wed Oct 23 09:54:51 UTC 2019
Author: manu
Date: Wed Oct 23 09:54:50 2019
New Revision: 353918
URL: https://svnweb.freebsd.org/changeset/base/353918
Log:
axp81x: Use the default regnode_init method
MFC after: 1 week
Modified:
head/sys/arm/allwinner/axp81x.c
Modified: head/sys/arm/allwinner/axp81x.c
==============================================================================
--- head/sys/arm/allwinner/axp81x.c Wed Oct 23 09:54:12 2019 (r353917)
+++ head/sys/arm/allwinner/axp81x.c Wed Oct 23 09:54:50 2019 (r353918)
@@ -747,12 +747,6 @@ axp8xx_write(device_t dev, uint8_t reg, uint8_t val)
}
static int
-axp8xx_regnode_init(struct regnode *regnode)
-{
- return (0);
-}
-
-static int
axp8xx_regnode_enable(struct regnode *regnode, bool enable, int *udelay)
{
struct axp8xx_reg_sc *sc;
@@ -869,7 +863,6 @@ axp8xx_regnode_get_voltage(struct regnode *regnode, in
static regnode_method_t axp8xx_regnode_methods[] = {
/* Regulator interface */
- REGNODEMETHOD(regnode_init, axp8xx_regnode_init),
REGNODEMETHOD(regnode_enable, axp8xx_regnode_enable),
REGNODEMETHOD(regnode_set_voltage, axp8xx_regnode_set_voltage),
REGNODEMETHOD(regnode_get_voltage, axp8xx_regnode_get_voltage),
More information about the svn-src-all
mailing list