]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pci224: convert CLK_CONFIG() macro to function
authorIan Abbott <abbotti@mev.co.uk>
Tue, 4 Apr 2017 10:32:27 +0000 (11:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 11:03:17 +0000 (13:03 +0200)
commit37d28f6d5890a564527ff7411a31dd9ef88b5364
tree7acacfd313c482a8ac4cc149688c829afec3c44c
parentf98ad5e9b60a65abce6649d200a7f8fd570d243f
staging: comedi: amplc_pci224: convert CLK_CONFIG() macro to function

Convert the `CLK_CLKFIG(chan, src)` macro to a static function
`pci224_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_pci224.c