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