diff options
author | Philippe Mathieu-Daudé | 2021-06-17 13:53:31 +0200 |
---|---|---|
committer | Corey Minyard | 2021-07-08 21:15:01 +0200 |
commit | c8665a5997aa892c48f649df0aa72d0e41f8aca8 (patch) | |
tree | 6eb07ad356e20998c27d4fb72e549272ab7b2daa /hw/i2c/aspeed_i2c.c | |
parent | hw/i2c: Remove confusing i2c_send_recv() (diff) | |
download | qemu-c8665a5997aa892c48f649df0aa72d0e41f8aca8.tar.gz qemu-c8665a5997aa892c48f649df0aa72d0e41f8aca8.tar.xz qemu-c8665a5997aa892c48f649df0aa72d0e41f8aca8.zip |
hw/i2c: Rename i2c_set_slave_address() -> i2c_slave_set_address()
Other functions from I2C slave API are named "i2c_slave_XXX()".
Follow that pattern with set_address(). Add docstring along.
No logical change.
Patch created mechanically using:
$ sed -i s/i2c_set_slave_address/i2c_slave_set_address/ \
$(git grep -l i2c_set_slave_address)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/i2c/aspeed_i2c.c')
0 files changed, 0 insertions, 0 deletions