nvmem: remove inline in drivers/nvmem/core.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 11 Sep 2017 09:00:13 +0000 (11:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Sep 2017 14:20:26 +0000 (16:20 +0200)
commitf7c04f16d76e795f52a8fdbf11d351346fe7032c
treecd32d689662b12ee3880472cfa47c42ada9fdee4
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
nvmem: remove inline in drivers/nvmem/core.c

These two functions are defined in .c file, but called just once
(at least for now).  So, the compiler will fold them into their
callers even without the "inline" markers.

However, this kind of optimization should not be done by hand.
It is compiler's judge after all.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/core.c