summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/adt7463/adt7463.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/adt7463/adt7463.c')
-rw-r--r--src/drivers/i2c/adt7463/adt7463.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/i2c/adt7463/adt7463.c b/src/drivers/i2c/adt7463/adt7463.c
index dd6d8372c3..2fb42a9773 100644
--- a/src/drivers/i2c/adt7463/adt7463.c
+++ b/src/drivers/i2c/adt7463/adt7463.c
@@ -85,14 +85,10 @@ static void adt7463_init(struct device *adt7463)
printk(BIOS_DEBUG, "ADT7463 properly initialized\n");
}
-static void adt7463_noop(struct device *dummy)
-{
-}
-
static struct device_operations adt7463_operations = {
- .read_resources = adt7463_noop,
- .set_resources = adt7463_noop,
- .enable_resources = adt7463_noop,
+ .read_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP,
+ .enable_resources = DEVICE_NOOP,
.init = adt7463_init,
};