summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/adm1026/adm1026.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/adm1026/adm1026.c')
-rw-r--r--src/drivers/i2c/adm1026/adm1026.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/i2c/adm1026/adm1026.c b/src/drivers/i2c/adm1026/adm1026.c
index e8baea1c40..592916afbd 100644
--- a/src/drivers/i2c/adm1026/adm1026.c
+++ b/src/drivers/i2c/adm1026/adm1026.c
@@ -44,14 +44,10 @@ static void adm1026_init(struct device *dev)
}
}
-static void adm1026_noop(struct device *dummy)
-{
-}
-
static struct device_operations adm1026_operations = {
- .read_resources = adm1026_noop,
- .set_resources = adm1026_noop,
- .enable_resources = adm1026_noop,
+ .read_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP,
+ .enable_resources = DEVICE_NOOP,
.init = adm1026_init,
};