staging: greybus: Replace function gb_i2c_device_setup()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Fri, 5 Jul 2019 13:11:31 +0000 (18:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2019 05:34:09 +0000 (07:34 +0200)
commitbaacd53a3b72d1dc74a340d16b8cf560dfe24717
tree20715fc04f9825b391edfea35ac79b487ac8645a
parentebf256e36754fc5c4a259bb28f3c0a081eb70467
staging: greybus: Replace function gb_i2c_device_setup()

Remove function gb_i2c_device_setup as all it does is call
gb_i2c_functionality_operation.
Rename gb_i2c_functionality_operation to gb_i2c_device_setup to maintain
compatibility with call sites.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190705131131.27354-1-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/i2c.c