lkml.org 
[lkml]   [2017]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/6] pinctrl: uniphier: remove unneeded EXPORT_SYMBOL_GPL()
    Date
    All UniPhier pinctrl drivers are built-in.  Exporting the symbol
    is meaningless.

    Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
    ---

    drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
    index 30dec0ee7f35..c649e835bd54 100644
    --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
    +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
    @@ -13,7 +13,6 @@
    * GNU General Public License for more details.
    */

    -#include <linux/export.h>
    #include <linux/mfd/syscon.h>
    #include <linux/of.h>
    #include <linux/pinctrl/pinconf.h>
    @@ -731,4 +730,3 @@ int uniphier_pinctrl_probe(struct platform_device *pdev,

    return 0;
    }
    -EXPORT_SYMBOL_GPL(uniphier_pinctrl_probe);
    --
    2.7.4
    \
     
     \ /
      Last update: 2017-07-31 08:24    [W:3.040 / U:0.612 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site