diff options
Diffstat (limited to 'drivers/pinctrl/mvebu/common.c')
-rw-r--r-- | drivers/pinctrl/mvebu/common.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/pinctrl/mvebu/common.c b/drivers/pinctrl/mvebu/common.c index ae16b39268..e41ab0a40d 100644 --- a/drivers/pinctrl/mvebu/common.c +++ b/drivers/pinctrl/mvebu/common.c @@ -1,12 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Marvell MVEBU pinctrl core driver * * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. */ #include <common.h> @@ -61,8 +57,7 @@ static int mvebu_pinctrl_set_state(struct pinctrl_device *pdev, ret = of_property_read_string(np, "marvell,function", &function); if (ret) { - dev_err(pdev->dev, "missing marvell,function in node %s\n", - np->full_name); + dev_err(pdev->dev, "missing marvell,function in node %pOF\n", np); return -EINVAL; } @@ -97,7 +92,7 @@ static struct pinctrl_ops mvebu_pinctrl_ops = { .set_state = mvebu_pinctrl_set_state, }; -int mvebu_pinctrl_probe(struct device_d *dev, +int mvebu_pinctrl_probe(struct device *dev, struct mvebu_pinctrl_soc_info *soc) { struct mvebu_pinctrl *pctl; |