summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/adm1027/adm1027.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/adm1027/adm1027.c')
-rw-r--r--src/drivers/i2c/adm1027/adm1027.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/i2c/adm1027/adm1027.c b/src/drivers/i2c/adm1027/adm1027.c
index 9841c81954..4e67e4d5f5 100644
--- a/src/drivers/i2c/adm1027/adm1027.c
+++ b/src/drivers/i2c/adm1027/adm1027.c
@@ -50,14 +50,10 @@ static void adm1027_init(struct device *dev)
}
}
-static void adm1027_noop(struct device *dummy)
-{
-}
-
static struct device_operations adm1027_operations = {
- .read_resources = adm1027_noop,
- .set_resources = adm1027_noop,
- .enable_resources = adm1027_noop,
+ .read_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP,
+ .enable_resources = DEVICE_NOOP,
.init = adm1027_init,
};