Message ID | 20220830110525.1933198-1-Basavaraj.Natikar@amd.com |
---|---|
State | Accepted |
Commit | 3160b37e5cb695e866e06c3fdbc385846b569294 |
Headers | show |
Series | pinctrl: amd: change dev_warn to dev_dbg for additional feature support | expand |
On Tue, Aug 30, 2022 at 1:05 PM Basavaraj Natikar <Basavaraj.Natikar@amd.com> wrote: > Use dev_dbg instead of dev_warn for additional support of pinmux > feature. > > Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> Patch applied. Yours, Linus Walleij
diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c index 4691a33bc374..2a4b3efb7e12 100644 --- a/drivers/pinctrl/pinctrl-amd.c +++ b/drivers/pinctrl/pinctrl-amd.c @@ -1051,13 +1051,13 @@ static void amd_get_iomux_res(struct amd_gpio *gpio_dev) index = device_property_match_string(dev, "pinctrl-resource-names", "iomux"); if (index < 0) { - dev_warn(dev, "failed to get iomux index\n"); + dev_dbg(dev, "iomux not supported\n"); goto out_no_pinmux; } gpio_dev->iomux_base = devm_platform_ioremap_resource(gpio_dev->pdev, index); if (IS_ERR(gpio_dev->iomux_base)) { - dev_warn(dev, "Failed to get iomux %d io resource\n", index); + dev_dbg(dev, "iomux not supported %d io resource\n", index); goto out_no_pinmux; }
Use dev_dbg instead of dev_warn for additional support of pinmux feature. Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com> --- drivers/pinctrl/pinctrl-amd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)