OSDN Git Service

staging: comedi: amplc_pci230: convert CLK_CONFIG() macro to function
authorIan Abbott <abbotti@mev.co.uk>
Tue, 4 Apr 2017 10:29:54 +0000 (11:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 11:03:17 +0000 (13:03 +0200)
commitc5665dfb902f84002e14d30d97b47886fc9fe161
tree68f7469cc8b79fc30113504eae2fc5427db3d4f3
parent112d55e5855423652aa334a13a34fccb70780069
staging: comedi: amplc_pci230: convert CLK_CONFIG() macro to function

Convert the `CLK_CONFIG(chan, src)` macro to a static function
`pci230_clk_config(chan, src)`.  This is consistent with an earlier
change to convert `GAT_CONFIG(chan, src)` to a static function.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci230.c