summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/w83795
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/w83795')
-rw-r--r--src/drivers/i2c/w83795/w83795.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/i2c/w83795/w83795.c b/src/drivers/i2c/w83795/w83795.c
index 5559666f9a..569fe5ac3c 100644
--- a/src/drivers/i2c/w83795/w83795.c
+++ b/src/drivers/i2c/w83795/w83795.c
@@ -239,14 +239,10 @@ static void w83795_hwm_init(struct device *dev)
printk(BIOS_ERR, "Neither AMD nor INTEL CPU detected\n");
}
-static void w83795_noop(struct device *dummy)
-{
-}
-
static struct device_operations w83795_operations = {
- .read_resources = w83795_noop,
- .set_resources = w83795_noop,
- .enable_resources = w83795_noop,
+ .read_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP,
+ .enable_resources = DEVICE_NOOP,
.init = w83795_hwm_init,
};