diff options
author | Tomasz Figa <t.figa@samsung.com> | 2012-09-21 07:34:04 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-09-21 07:34:04 +0900 |
commit | 2f0253ffed8ed1a7e0a733e8e86a7604eb80027a (patch) | |
tree | 27ffe2ca6a781a1adedec18631bc1635f5e3adc3 /drivers/pinctrl | |
parent | c3ad056b26fe5d5be71b96371b0b2d00b2276ad3 (diff) | |
download | op-kernel-dev-2f0253ffed8ed1a7e0a733e8e86a7604eb80027a.zip op-kernel-dev-2f0253ffed8ed1a7e0a733e8e86a7604eb80027a.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c index 8a24223d..dd108a9 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; |