aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/w83793/w83793.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/w83793/w83793.c')
-rw-r--r--src/drivers/i2c/w83793/w83793.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/i2c/w83793/w83793.c b/src/drivers/i2c/w83793/w83793.c
index 732fdb4c6d..4b947d76bb 100644
--- a/src/drivers/i2c/w83793/w83793.c
+++ b/src/drivers/i2c/w83793/w83793.c
@@ -220,14 +220,10 @@ static void w83793_init(struct device *dev)
}
-static void w83793_noop(struct device *dummy)
-{
-}
-
static struct device_operations w83793_operations = {
- .read_resources = w83793_noop,
- .set_resources = w83793_noop,
- .enable_resources = w83793_noop,
+ .read_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP,
+ .enable_resources = DEVICE_NOOP,
.init = w83793_init,
};