aboutsummaryrefslogtreecommitdiff
path: root/hw/p8-i2c.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-07-28 14:31:32 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-31 15:32:42 +1000
commitaed8d7eaf979e14d8e04e651a00327a5e3d41716 (patch)
tree94cdd9c1ddad50641f4518e62b86ffde41553648 /hw/p8-i2c.c
parent56b7f5113e3469620c5a1f8994550c5d72f571a8 (diff)
downloadskiboot-aed8d7eaf979e14d8e04e651a00327a5e3d41716.zip
skiboot-aed8d7eaf979e14d8e04e651a00327a5e3d41716.tar.gz
skiboot-aed8d7eaf979e14d8e04e651a00327a5e3d41716.tar.bz2
errorlog: Deprecate elog callback parameter
There are now no users of the call_out parameter and future users should use the log_append_msg() and log_append_data() functions, so remove all references to call_out. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/p8-i2c.c')
-rw-r--r--hw/p8-i2c.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/p8-i2c.c b/hw/p8-i2c.c
index 5295ad8..775e777 100644
--- a/hw/p8-i2c.c
+++ b/hw/p8-i2c.c
@@ -33,15 +33,15 @@
DEFINE_LOG_ENTRY(OPAL_RC_I2C_INIT, OPAL_PLATFORM_ERR_EVT, OPAL_I2C,
OPAL_IO_SUBSYSTEM, OPAL_PREDICTIVE_ERR_DEGRADED_PERF,
- OPAL_NA, NULL);
+ OPAL_NA);
DEFINE_LOG_ENTRY(OPAL_RC_I2C_START_REQ, OPAL_INPUT_OUTPUT_ERR_EVT, OPAL_I2C,
- OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA, NULL);
+ OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA);
DEFINE_LOG_ENTRY(OPAL_RC_I2C_TIMEOUT, OPAL_INPUT_OUTPUT_ERR_EVT, OPAL_I2C,
- OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA, NULL);
+ OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA);
DEFINE_LOG_ENTRY(OPAL_RC_I2C_TRANSFER, OPAL_INPUT_OUTPUT_ERR_EVT, OPAL_I2C,
- OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA, NULL);
+ OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA);
DEFINE_LOG_ENTRY(OPAL_RC_I2C_RESET, OPAL_INPUT_OUTPUT_ERR_EVT, OPAL_I2C,
- OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA, NULL);
+ OPAL_IO_SUBSYSTEM, OPAL_INFO, OPAL_NA);
#ifdef DEBUG
#define DBG(fmt...) prlog(PR_ERR, "I2C: " fmt)