hw/i2c: Rename i2c_set_slave_address() -> i2c_slave_set_address()
commitc8665a5997aa892c48f649df0aa72d0e41f8aca8
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 17 Jun 2021 11:53:31 +0000 (17 13:53 +0200)
committerCorey Minyard <cminyard@mvista.com>
Thu, 8 Jul 2021 19:15:01 +0000 (8 14:15 -0500)
tree6eb07ad356e20998c27d4fb72e549272ab7b2daa
parent2038a2907ce69f8b59e65ed8b4ac6f5c4f823fec
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>
hw/arm/pxa2xx.c
hw/arm/spitz.c
hw/display/ati.c
hw/display/sm501.c
hw/display/xlnx_dp.c
hw/i2c/core.c
hw/i2c/imx_i2c.c
include/hw/i2c/i2c.h