char: xilinx_hwicap: Fold hwicap_remove() into only caller
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 5 Jun 2023 09:20:45 +0000 (11:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:43:21 +0000 (13:43 +0200)
commite8989a48ca5111122b73fe905baf07ea29f1c197
treedb72451fbd3b73f69a968d132189a5a04dc5a9c9
parent303c9c63abb9390e906052863f82bb4e9824e5c0
char: xilinx_hwicap: Fold hwicap_remove() into only caller

hwicap_remove() is only called by hwicap_drv_remove(). Simplify by
unrolling the former into the latter function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Michal Simek <michal.simek@amd.com>
Message-ID: <20230605092047.50472-1-u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/xilinx_hwicap/xilinx_hwicap.c