pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data
authorTomasz Figa <t.figa@samsung.com>
Thu, 20 Sep 2012 22:34:04 +0000 (07:34 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Sep 2012 22:34:04 +0000 (07:34 +0900)
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>
drivers/pinctrl/pinctrl-samsung.c

index 8a24223d5334dca730eec8470d39f2411e7898aa..dd108a94acf95028929a5c2b82a3fdaf7a906267 100644 (file)
@@ -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;