Alastair D'Silva 9e41bade85 hw/i2c: Add a NULL check for i2c slave init callbacks
Add a NULL check for i2c slave init callbacks, so that we no longer
need to implement empty init functions.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Message-id: 20161202054617.6749-4-alastair@au1.ibm.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: squashed in later tweak from Alistair to if() phrasing]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-12-27 14:59:29 +00:00
..
2016-05-12 13:40:48 +01:00
2016-05-19 16:42:27 +02:00
2016-06-06 16:59:31 +01:00
2016-10-24 15:27:20 +02:00
2016-10-24 15:27:20 +02:00
2016-10-24 15:27:20 +02:00
2016-06-06 16:59:31 +01:00
2016-10-24 16:26:55 +01:00
2016-10-08 09:02:19 +03:00
2016-10-24 16:26:55 +01:00
2016-05-12 13:42:08 +01:00
2016-06-13 13:24:41 +02:00
2016-07-04 13:15:22 +01:00
2016-10-28 15:51:27 +01:00
2016-06-06 16:59:31 +01:00
2016-10-24 16:26:56 +01:00
2016-06-06 16:59:31 +01:00
2016-12-27 14:59:26 +00:00
2016-07-04 13:15:22 +01:00
2016-07-04 13:15:22 +01:00