summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/nct7802y
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/nct7802y')
-rw-r--r--src/drivers/i2c/nct7802y/nct7802y.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/nct7802y/nct7802y.c b/src/drivers/i2c/nct7802y/nct7802y.c
index c21b002ba5..dd8c0aabc0 100644
--- a/src/drivers/i2c/nct7802y/nct7802y.c
+++ b/src/drivers/i2c/nct7802y/nct7802y.c
@@ -20,8 +20,8 @@ static void nct7802y_init(struct device *const dev)
}
static struct device_operations nct7802y_ops = {
- .read_resources = DEVICE_NOOP,
- .set_resources = DEVICE_NOOP,
+ .read_resources = noop_read_resources,
+ .set_resources = noop_set_resources,
.init = nct7802y_init,
};