soc: fsl: qe: move qe_ic_cascade_* functions to qe_ic.c
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 28 Nov 2019 14:55:20 +0000 (15:55 +0100)
committerLi Yang <leoyang.li@nxp.com>
Mon, 9 Dec 2019 19:54:32 +0000 (13:54 -0600)
commita36742d13a1deb16b9e80cbb303b7b6b2d2e120d
tree295721b2b07cf304992e82f2574e8d0370b0cf0f
parent01a2ffbdb2e5fabfccdca770c1aee11f0fdc2c8f
soc: fsl: qe: move qe_ic_cascade_* functions to qe_ic.c

These functions are only ever called through a function pointer, and
therefore it makes no sense for them to be "static inline" - gcc has
no choice but to emit a copy in each translation unit that takes the
address of one of these. Since they are now only referenced from
qe_ic.c, just make them local to that file.

Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/qe_ic.c
include/soc/fsl/qe/qe_ic.h