summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2012-09-21 07:34:04 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-09-21 07:34:04 +0900
commit2f0253ffed8ed1a7e0a733e8e86a7604eb80027a (patch)
tree27ffe2ca6a781a1adedec18631bc1635f5e3adc3 /drivers/pinctrl
parentc3ad056b26fe5d5be71b96371b0b2d00b2276ad3 (diff)
downloadlinux-3.10-2f0253ffed8ed1a7e0a733e8e86a7604eb80027a.tar.gz
linux-3.10-2f0253ffed8ed1a7e0a733e8e86a7604eb80027a.tar.bz2
linux-3.10-2f0253ffed8ed1a7e0a733e8e86a7604eb80027a.zip
pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data
Although the function is used only a single time, it is not performance critical and it is pretty heavy, so let the compiler decide whether to inline it instead. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-samsung.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c
index 8a24223d533..dd108a94acf 100644
--- a/drivers/pinctrl/pinctrl-samsung.c
+++ b/drivers/pinctrl/pinctrl-samsung.c
@@ -776,7 +776,7 @@ static int __init samsung_gpiolib_unregister(struct platform_device *pdev,
static const struct of_device_id samsung_pinctrl_dt_match[];
/* retrieve the soc specific data */
-static inline struct samsung_pin_ctrl *samsung_pinctrl_get_soc_data(
+static struct samsung_pin_ctrl *samsung_pinctrl_get_soc_data(
struct platform_device *pdev)
{
int id;