summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/at24rf08c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/at24rf08c')
-rw-r--r--src/drivers/i2c/at24rf08c/at24rf08c.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/i2c/at24rf08c/at24rf08c.c b/src/drivers/i2c/at24rf08c/at24rf08c.c
index a03564f8db..a9b821afa8 100644
--- a/src/drivers/i2c/at24rf08c/at24rf08c.c
+++ b/src/drivers/i2c/at24rf08c/at24rf08c.c
@@ -52,14 +52,10 @@ static void at24rf08c_init(struct device *dev)
printk (BIOS_DEBUG, "init EEPROM done\n");
}
-static void at24rf08c_noop(struct device *dummy)
-{
-}
-
static struct device_operations at24rf08c_operations = {
- .read_resources = at24rf08c_noop,
- .set_resources = at24rf08c_noop,
- .enable_resources = at24rf08c_noop,
+ .read_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP,
+ .enable_resources = DEVICE_NOOP,
.init = at24rf08c_init,
};