qemu-e2k/include/hw/i2c
Philippe Mathieu-Daudé db437ca6df hw/i2c: Rename i2c_try_create_slave() as i2c_slave_new()
We use "new" names for functions that allocate and initialize
device objects: pci_new(), isa_new(), usb_new().
Let's call this one i2c_slave_new(). Since we have to update
all the callers, also let it return a I2CSlave object.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200705224154.16917-3-f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
2020-07-16 12:30:54 -05:00
..
arm_sbcon_i2c.h hw/i2c: Add header for ARM SBCon two-wire serial bus interface 2020-06-23 11:39:47 +01:00
aspeed_i2c.h hw/i2c/aspeed_i2c: Simplify aspeed_i2c_get_bus() 2020-07-16 12:30:54 -05:00
bitbang_i2c.h hw/i2c/bitbang_i2c: Use in-place rather than malloc'd bitbang_i2c_interface struct 2019-07-03 10:51:35 +02:00
i2c.h hw/i2c: Rename i2c_try_create_slave() as i2c_slave_new() 2020-07-16 12:30:54 -05:00
imx_i2c.h
microbit_i2c.h hw/arm/nrf51: Add NRF51_PERIPHERAL_SIZE definition 2020-05-11 11:05:11 +01:00
pm_smbus.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
ppc4xx_i2c.h hw/i2c/bitbang_i2c: Use in-place rather than malloc'd bitbang_i2c_interface struct 2019-07-03 10:51:35 +02:00
smbus_eeprom.h smbus: Fix spd_data_generate() error API violation 2020-04-29 08:01:52 +02:00
smbus_master.h i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
smbus_slave.h i2c:smbus_slave: Add an SMBus vmstate structure 2019-02-27 21:06:08 -06:00