mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
i2c/sensor/w83793g: Fix unused function warning
w83793g_writereg is unused so silence it.
Fixes: cd3cc6e910 ("i2c/sensors: Add driver for W83793 hardware monitor")
This commit is contained in:
1 parent
3ecee9314d
commit
80bac43c22
1 file changed
+2
@@ -154,11 +154,13 @@ w83793g_readreg(device_t dev, int reg, uint8_t *output)
|
||||
return (iicdev_readfrom(dev, reg, output, sizeof(*output), IIC_WAIT));
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
w83793g_writereg(device_t dev, int reg, uint8_t *output)
|
||||
{
|
||||
return (iicdev_writeto(dev, reg, output, sizeof(*output), IIC_WAIT));
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool
|
||||
temp_enabled(struct w83793g_softc *sc, int sensor)
|
||||
|
||||
Reference in new issue
Block a user