]> git.baikalelectronics.ru Git - kernel.git/commit
lib: cordic: Move cordic macros and defines to header file
authorPriit Laes <plaes@plaes.org>
Mon, 19 Nov 2018 18:01:22 +0000 (20:01 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Nov 2018 15:30:48 +0000 (17:30 +0200)
commitfbfde3d104d47b7cedb4c6b641f27d6ce2e8c710
tree8b3212ca7189300141dbf644ae6a353cc052a314
parent481b70e4833f7490d9adc4211c7ebef60784ce41
lib: cordic: Move cordic macros and defines to header file

Now that these macros are in header file, we can eventually
clean up the duplicate macros present in the drivers that
utilize the same cordic algorithm implementation.

Also add CORDIC_ prefix to nonprefixed macros.

Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Priit Laes <plaes@plaes.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
include/linux/cordic.h
lib/cordic.c