]> git.baikalelectronics.ru Git - kernel.git/commit
sh-pfc: Let the compiler decide whether to inline functions
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 15 Dec 2012 22:50:50 +0000 (23:50 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 25 Jan 2013 00:24:21 +0000 (09:24 +0900)
commit7f310af2813215d7d36d0c047d22cbfff4a57d73
tree55e637aad89c04975313eee9959573cd23d66dfe
parenta509b47c2fa20172b4fb2c420be762ff047fbf58
sh-pfc: Let the compiler decide whether to inline functions

The compiler should be smart enough to automatically inline static
functions that are called from a single location.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/sh/pfc/pinctrl.c