git: 89f8aa7d41b9 - main - pmic: rockchip: Plug set but not used variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 10:12:07 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=89f8aa7d41b914d50dbffe4efdcf51b4a77ba84f commit 89f8aa7d41b914d50dbffe4efdcf51b4a77ba84f Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-02-21 09:55:43 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-02-21 10:08:12 +0000 pmic: rockchip: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG --- sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c b/sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c index 6480c10deeb8..74bf2ab6ff73 100644 --- a/sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c +++ b/sys/dev/iicbus/pmic/rockchip/rk8xx_regulators.c @@ -48,7 +48,7 @@ static int rk8xx_regnode_set_voltage(struct regnode *regnode, int min_uvolt, static int rk8xx_regnode_get_voltage(struct regnode *regnode, int *uvolt); /* #define dprintf(sc, format, arg...) device_printf(sc->base_dev, "%s: " format, __func__, arg) */ -#define dprintf(sc, format, arg...) +#define dprintf(sc, format, arg...) (sc = sc) static int rk8xx_regnode_init(struct regnode *regnode)