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>
This commit is contained in:
@@ -85,14 +85,10 @@ static void adt7463_init(struct device *adt7463)
|
||||
printk(BIOS_DEBUG, "ADT7463 properly initialized\n");
|
||||
}
|
||||
|
||||
static void adt7463_noop(struct device *dummy)
|
||||
{
|
||||
}
|
||||
|
||||
static struct device_operations adt7463_operations = {
|
||||
.read_resources = adt7463_noop,
|
||||
.set_resources = adt7463_noop,
|
||||
.enable_resources = adt7463_noop,
|
||||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = adt7463_init,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user