spi: Rename of_spi_register_master() function
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Aug 2019 15:03:21 +0000 (17:03 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 8 Aug 2019 19:43:13 +0000 (20:43 +0100)
commit43004f31ebf2705905460a6d9a77da4182170c38
tree634368981faf0927dd7a2f344fa7f085e11b147f
parent920d947af9cd528338bbfe989449489a9962142f
spi: Rename of_spi_register_master() function

Rename this function to of_spi_get_gpio_numbers() as this
is what the function does, it does not register a master,
it is called in the path of registering a master so the
name is logical in a convoluted way, but it is better to
follow Rusty Russell's ABI level no 7:
"The obvious use is (probably) the correct one"

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20190808150321.23319-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c