]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: merging the visorbus_*_response functions into one.
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Tue, 22 Aug 2017 17:27:03 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2017 21:56:04 +0000 (14:56 -0700)
commit0a56eccef9511256596e1cf3715a2ebc84b65e76
treeb6f59e0c918947b7ababb01b18b876da0e2a24fb
parent14e020a31bdcc5cfb918228699760c5534bbe152
staging: unisys: visorbus: merging the visorbus_*_response functions into one.

The functions visorbus_create_response(), visorbus_destroy_response(),
viosrbus_device_create_response(), viosrbus_device_destroy_response()
are all functionally similar. Merging these four functions into a
single function called visorbus_response().

Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c