include/device/device.h: Provide DEVICE_NOOP macro shim

Rather than everyone writing their own adhoc device operation
NOP shim, we provide some formalism. We later make use of this
to reduce the loc count down trivially.

Change-Id: I2d04bfb50e76f367a0ee258dab97d7caa12ec99e
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/7283
Tested-by: build bot (Jenkins)
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 3810716..c67205c 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -66,6 +66,12 @@
 	const struct pnp_mode_ops *ops_pnp_mode;
 };
 
+/**
+ * Standard device operations function pointers shims.
+ */
+static inline void device_noop(struct device *dev) {}
+#define DEVICE_NOOP device_noop
+
 #endif /* ! __SIMPLE_DEVICE__ */