summaryrefslogtreecommitdiff
path: root/src/drivers/ics/954309/ics954309.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-31 07:55:45 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-01 21:14:07 +0100
commit524625d4e0a6ee07b01960437a3f918c0f04a1bb (patch)
treebf058469e001129a0d1dc91983b494a6ba3c66a7 /src/drivers/ics/954309/ics954309.c
parent530355d41bf10fa4f0ee215e0e71fc68e80053ea (diff)
downloadcoreboot-524625d4e0a6ee07b01960437a3f918c0f04a1bb.tar.xz
drivers: Use DEVICE_NOOP macro over dummy symbol
Change-Id: I931bd9c89bce6ac8f8e9e482a7876e2004abfb38 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7284 Tested-by: build bot (Jenkins) Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Diffstat (limited to 'src/drivers/ics/954309/ics954309.c')
-rw-r--r--src/drivers/ics/954309/ics954309.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/drivers/ics/954309/ics954309.c b/src/drivers/ics/954309/ics954309.c
index 0aa15c059e..fda37afcdb 100644
--- a/src/drivers/ics/954309/ics954309.c
+++ b/src/drivers/ics/954309/ics954309.c
@@ -55,14 +55,10 @@ static void ics954309_init(struct device *dev)
smbus_block_write(dev, 0, 12, initdata);
}
-static void ics954309_noop(struct device *dummy)
-{
-}
-
static struct device_operations ics954309_operations = {
- .read_resources = ics954309_noop,
- .set_resources = ics954309_noop,
- .enable_resources = ics954309_noop,
+ .read_resources = DEVICE_NOOP,
+ .set_resources = DEVICE_NOOP,
+ .enable_resources = DEVICE_NOOP,
.init = ics954309_init,
};