]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdda3bcadac6bb0629cb255e844156d14e7be9382
tree68f7469cc8b79fc30113504eae2fc5427db3d4f3
parent1cc13b05a5d771c4a4c650367ee3453841a53e48
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