staging: comedi: amplc_dio200: Remove function gat_sce()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Mon, 1 Jul 2019 07:00:24 +0000 (12:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2019 16:28:28 +0000 (18:28 +0200)
commit931282a9c7a6ea366c5a8a3c5a0f021681d19d9d
tree4672f69053666cc3506260a60809e78a6060d21a
parent18e75e3282f7fabcb0bbfc4223d3209e6b0f5083
staging: comedi: amplc_dio200: Remove function gat_sce()

Remove function gat_sce as all it does is call clk_gat_sce.
Modify call sites of the former to call the latter directly.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20190701070025.3838-2-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200_common.c