]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: Get rid of passthrough function visorchipset_device_destroy
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Tue, 22 Aug 2017 17:27:35 +0000 (13:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Aug 2017 22:14:55 +0000 (15:14 -0700)
commitc59a794b7aed65794ad87e816a246aa50ac25dd1
tree03b9d08d2746a8a678987c7bd98606f7a68186fa
parent27fb9ad3b42510750bd4554a9fdf62556a0159e4
staging: unisys: visorbus: Get rid of passthrough function visorchipset_device_destroy

The function visorchipset_device_destroy just called remove_visor_device,
we can just combine it with remove_visor_device.

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